|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#7
|
||||
|
||||
|
Re: How to create an On/Off button?
Code:
button1 = GetButton(button1); if (button1 && ! button1previous) toggle1 = !toggle1; button1previous = button1; |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|