Releasing control resources
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Releasing control resources
The following material describes the process of creating and freeing control-frame widgets. This is automatically done by the AppBuilder, but, like any other dynamic widget, you can delete a control-frame some time after you create it.
You can delete a control-frame using two techniques:
- Associate the control-frame with a widget pool in the
CREATEstatement. When you delete the widget pool, ABL deletes the control-frame widget and also releases its control-frame COM object. This is the default technique used by the AppBuilder. (The AppBuilder uses the default unnamed widget pool that is deleted when the .w ends.) - Explicitly delete the control-frame using the
DELETE WIDGETstatement. This statement deletes the control-frame widget and also releases the control-frame COM object.