panel visible ?

BlitzMax Forums/MaxGUI Module/panel visible ?

hub(Posted 2009) [#1]
Hi !
Perhaps i've an error inside my code to detect if a panel is hidden or not (with showgadget or hidegadget)

could i try to check this :

(inside EVENT_GADGETPAINT)
if Mypanel.visible = true then notify "visible"
or
if hiddengadget(MyPanel) = false then notify "visible"

to determine if Mypanel is visible ?

Thanks.


degac(Posted 2009) [#2]
Function GadgetHidden( gadget:TGadget )
Returns True if the gadget is hidden, False if it isn't.
It should work


hub(Posted 2009) [#3]
Thanks to confirm this, so i can investigate inside my code to find what's wrong.