Restored from previous forum. Originally posted by Cantor.
Hi!
It's me again.
Is it possible to remove a Gadget and replace it by another (different) one?
I ask as I want to create a tree gadget and at any time I press a treeitem, different gadgets should appear (similar to a panelgadget).
Greetings,
Martin.
--
Best regards,
Martin
Remove Gadget
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Cantor.
I answer to myself:
I Found it. It is not mentioned in the reference manual (or is it indeed?).
The command: FreeGadget(#Gadget) removes the gadget after it has been initialised.
Are there more commands that are not mentioned in the reference manual?
Greetings, Martin.
--
Best regards,
Martin
I answer to myself:
I Found it. It is not mentioned in the reference manual (or is it indeed?).
The command: FreeGadget(#Gadget) removes the gadget after it has been initialised.
Are there more commands that are not mentioned in the reference manual?
Greetings, Martin.
--
Best regards,
Martin