FreeGadget()
Syntax
FreeGadget(#Gadget)
Free and remove the #Gadget from the display (and free its gadgetlist if the gadget was a container). Note: all remaining gadgets are automatically freed when the program ends.
Supported OS
All