Page 1 of 1

Posted: Mon Jan 28, 2002 9:48 pm
by BackupUser
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

Posted: Mon Jan 28, 2002 10:35 pm
by BackupUser
Restored from previous forum. Originally posted by Franco.

Try this:

Code: Select all

  
Procedure HideGadget(GadgetID)
  ShowWindow_(GadgetID,#SW_HIDE)
EndProcedure
  
Procedure ShowGadget(GadgetID)
  ShowWindow_(GadgetID,#SW_SHOW)
EndProcedure
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.