DELETE WIDGET statement
- Last Updated: October 16, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Deletes one or more dynamic widgets.
Syntax
|
- handle
- The handle of a dynamic widget.
Example
In the following example, the DELETE WIDGET statements deletes the dynamic button that you select:
r-delwid.p
|
Notes
- If you do not explicitly delete a dynamically created widget, it is deleted when its widget pool is deleted. If you do not create a new unnamed widget pool and do not explicitly specify a named widget pool when you create the widgets, all dynamic widgets are placed in the session pool. The session pool is not deleted until the ABL session that created it ends.
- If handle refers to a control-frame, any ActiveX control associated with the widget is also deleted. For more information on ActiveX support in ABL, see OpenEdge Programming Interfaces.
- For SpeedScript, use with buffer-field, buffer-object, buffer, and query-object handles.
- If handle refers to a dynamic query, the query will be closed before the query is deleted.