GadgetEnabled()
BlitzPlus Forums/BlitzPlus Programming/GadgetEnabled()
| ||
There is no command to tell if a gadget is currently enabled or disabled. Given that changing the range of a slider, or changing the value of a slider automatically enables it, and disabling it immediately afterwards makes it flicker instead of remaining disabled, this command is needed to be able to easily check if you've enabled or disabled a gadget without needing lots of global variables for tracking each gadget's current state manually. |
| ||
I put a GadgetEnabled() function in the code archives which does the above: http://www.blitzbasic.com/codearcs/codearcs.php?code=1293 |
| ||
Thanks. Ill use this |
| ||
I just found this sswift, I needed it badly.. big thx. |