GadgetEnabled()

BlitzPlus Forums/BlitzPlus Programming/GadgetEnabled()

sswift(Posted 2005) [#1]
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.


sswift(Posted 2005) [#2]
I put a GadgetEnabled() function in the code archives which does the above:

http://www.blitzbasic.com/codearcs/codearcs.php?code=1293


aab(Posted 2005) [#3]
Thanks. Ill use this


Snarkbait(Posted 2005) [#4]
I just found this sswift, I needed it badly.. big thx.