Restored from previous forum. Originally posted by cor.
How can I show /hide an ImageGadet?
Registered PB version : 2.90 (Windows)
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
How show/hide Imagegadget
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Franco.
Try this:
Keep in mind that GadgetID is the ID (handle) not the purebasic gadget number!
Have a nice day...
Franco
Sometimes you have to go a lonely way to accomplish genius things.
Try this:
Code: Select all
Procedure HideGadget(GadgetID)
ShowWindow_(GadgetID,#SW_HIDE)
EndProcedure
Procedure ShowGadget(GadgetID)
ShowWindow_(GadgetID,#SW_SHOW)
EndProcedure
Have a nice day...
Franco
Sometimes you have to go a lonely way to accomplish genius things.