Freeing gadgets

BlitzMax Forums/BlitzMax Beginners Area/Freeing gadgets

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

from the docs

Function FreeGadget( gadget:TGadget )
Description Remove gadget and free it's resources.


this can also be used to remove a second window thats been used as a dialog, this will (should!) free all the child gadgets providing they arent being referenced by anything else