OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Initializing and Cleaning Up

TGadget provides a couple of virtual functions that give a gadget a chance to initialize or clean up:

virtual void Inserted();
virtual void Removed();

Inserted is called after inserting a gadget into a gadget window. Removed is called before removing the gadget from its gadget window. The default versions of these function do nothing.

See Also