Important: The information in this document is obsolete and should not be used for new development.
Removing Controls
When you use the Window Manager proceduresDisposeWindow
andCloseWindow
to remove a window, they automatically remove all controls associated with the window and release the memory the controls occupy.When you no longer need a control in a window that you want to keep, you can use the
DisposeControl
procedure to remove the control from the window's control list and release the memory it occupies. You can use theKillControls
procedure to dispose of all of a window's controls at once.
Subtopics
- DisposeControl
- KillControls