Releasing ActiveX controls
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Releasing ActiveX controls
When you delete a control-frame widget, ABL also automatically
releases the control-frame COM object as well as any references
to the ActiveX control held by the control-frame. You must release
all other COM objects using the RELEASE OBJECT statement:
|
This example releases the control collection after it is no longer
needed. It also deletes the control-frame using the DELETE
WIDGET statement, which also releases the chCtrlFrame COM
object as well as the ActiveX control itself (chCSSpin).