Set Screen Button

related command of the button:

button_xy, button_dim, button_img, button_call, button_run, button_close, button_close_all

button_xy (ID) (X) (Y)

button_dim (ID) (WIDTH) (EIGHT)

button_img (ID) (IMAGE_NAME.jpg)

button_call (ID) (MAKESUB_ID)

button_run (ID)

button_close (ID)



# set subroutine function:
make_sub myimg
sub myimg photo_now 640x480 myphoto
# set button named but_A
button_xy but_A 10 10
button_dim but_A 150 150
button_img but_A do.png
button_call but_A play_sound
button_run but_A
# subroutine function:
make_sub play_sound
sub play_sound mp3_load test.mp3
Powered by