Remove Gadget

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Cantor.

Hi!
It's me again. :wink:

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
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

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
Post Reply