Handle method calls
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Handle method calls
To invoke (execute) a handle method, use the following syntax:
Syntax
|
The widget-reference is a reference to a handle-based object (see Handle-based references). The method-name specifies the ABL-defined name of a handle method, and parameter-list specifies any parameter list for the method. The container-widget-name is a name reference to a static container for a static widget. You need it only if the static widget reference is ambiguous, as shown in the following example. To execute a handle method, you can assign the return value directly to a variable, include the method in an expression, or directly invoke the method as a statement (terminated with a period), ignoring its return value. For more information on calling handle methods, see Accessing handle attributes and methods.
The following example executes
the ADD-FIRST( ) method for a selection list (Select-1)
in two different ways—assigning the return value to a logical variable
(methRtn) and invoking it directly, without assigning
a value:
|