Place to put your Basic demos and examples

Moderator: Mmiscool

User avatar
By Mmiscool
#48292 This will work with version 3.0 xx

Images used are attached but you may want to make them phancier.

Will Make an image button that can be toggled.
Code: Select all'Toggling Image button example
io(po,D4,0)
[TOP]
CLS

if io(laststat,D4) = 1 then
IMAGEBUTTON "ON.PNG", [ON]
else
IMAGEBUTTON "OFF.PNG", [OFF]
end if
wait


[ON]
io(po,D4,0)
goto [TOP]

[OFF]
io(po,D4,1)
goto [TOP]
You do not have the required permissions to view the files attached to this post.