Restored from previous forum. Originally posted by cor.
How to show/hide an Item of a Panelgadget.
You can only show/hide the complete panel.
I want for trial functions not showing the complete panel
Suggestion are welcome!
Using Windows 98 SE
Registered Purebasic
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
http://www.chordplanet.com
show/hide Item of Panelgadget?
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by El_Choni.
Try:
And to show it again:
El_Choni
Try:
Code: Select all
ShowWindow_(GadgetID(#Gadget), #SW_HIDE)
Code: Select all
ShowWindow_(GadgetID(#Gadget), #SW_SHOW)
El_Choni
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by freak.
If it's for a trial function, you should remove it compleetly
from your source.
(Otherwise someone could write a prog, that sends some Message to the
Panel to sho it again and you trial-thing is gone.)
I would use something like:
CompilerIf #Demo = #False
.
.
.
CompilerEndIf
Timo
If it's for a trial function, you should remove it compleetly
from your source.
(Otherwise someone could write a prog, that sends some Message to the
Panel to sho it again and you trial-thing is gone.)
I would use something like:
CompilerIf #Demo = #False
.
.
.
CompilerEndIf
Timo