Is it possible to have a button stay pushed in until the user clicks on a button again, and then let it come back up to a normal state?
Like I want a button for say "Word Wrap" in a text editor. If it's not currently in wrap mode, the button is normal like all the other buttons, but if the user presses that button, it's pushed down, stays down and Wrap is now on. Then if the user clicks that button again, it comes back up and Wrap is off.
Thanks in advance,
~Garrett
Setting a button to "pushed down" state?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Contact:
Look at the 'hilite' property of buttons. For checkboxes, this dictates whether they're checked - and for other buttons it dictates whether it's pushed in.
HTH,
Jan Schenkel.
HTH,
Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com
www.quartam.com