Toggle button gadget abililty

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Shagwana.

I could do with the ability to toggle a push button, much like the buttons in the windows taskbar (at the bottom of the windows98 screen). A possible way to implement this would be with the SetGadgetState() command. It could be used to toggle gadgets between up and down (0 =up state(default) 1=down state).



http://www.sublimegames.com