Important: The information in this document is obsolete and should not be used for new development.
|
|
Log In | Not a Member? |
Contact ADC |
DisposeControl
To remove a particular control from a window that you want to keep, use theDisposeControlprocedure.
PROCEDURE DisposeControl (theControl: ControlHandle);
theControl- A handle to the control you wish to remove.
DESCRIPTION
TheDisposeControlprocedure removes the specified control from the screen, deletes it from its window's control list, and releases the memory occupied by the control record and any data structures associated with the control.SPECIAL CONSIDERATIONS
The Window Manager proceduresCloseWindowandDisposeWindowautomatically dispose of all controls associated with the given window.SEE ALSO
To remove all of the controls in a window, use theKillControls procedure, described next.TheCloseWindowandDisposeWindowprocedures are described in the chapter "Window Manager" in this book.
Get information on Apple products.
Visit the Apple Store online or at retail locations. 1-800-MY-APPLE Copyright © 2007 Apple Inc. All rights reserved. | Terms of use | Privacy Notice |