Define class-scoped handle-based objects
- Last Updated: January 16, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Syntax
Handle-based
objects that include static widgets (visual objects), streams, and
work-tables can only be defined in a class definition as PRIVATE and
can only be referenced within the class file that defines them.
Therefore, they are not members of the class in which they are defined,
but are resources that can be referenced by other executable class
elements, including properties, methods, and triggers.
This is the syntax for defining class-scoped handle-based objects:
|
- object-name
- The name of the static widget, stream, or work-table.
- object-definition
-
The remaining syntax available for defining the static widget, stream, or work-table.
The use of these objects within a class definition is much the same as their use within a procedure. For more information on using widgets within a class definition, see Define and use widgets in classes.