101
Mach Screens / Re: Help.about screen designing
« on: June 26, 2009, 11:52:38 PM »
I am not sure what you need but I think you are asking how to make a "Toggle" button.
You only have a "OnPress" in Screen 4, you would need to use Flash to use a "Onrelease" and the other 6 button states.
In Screen 4 you would past VB code on a button to make it toggle, maybe something like this would help you:
You only have a "OnPress" in Screen 4, you would need to use Flash to use a "Onrelease" and the other 6 button states.
In Screen 4 you would past VB code on a button to make it toggle, maybe something like this would help you:
Code: [Select]
If GetUserLED(1000) = 0 Then
SetUserLed(1000,1)
MsgBox "Turn it on"
Else
SetUserLed(1000,0)
MsgBox "Turn it Off"
End If