Progress
Language Reference


Widget Method References

To reference a method, use the following syntax.

SYNTAX
{ widget-name-reference | handle} 
  :method-name ( [ parameter-list ] )
   [ IN container-widget-name ] 

A widget-name-reference is a name reference to a static widget. A handle is a widget handle, procedure handle, or system handle reference. A container-widget-name is a name reference to a static container widget for the widget-name-reference or a browse widget. You need it only if widget-name-reference is ambiguous. For more information on method references, see the chapter on widgets and handles in the Progress Programming Handbook .

To execute a method, you can assign the return value to a variable, reference the method in an expression, or invoke the method as a statement, ignoring the return value. 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:

methRtn = Select-1:ADD-FIRST("BLUE").
Select-1:ADD-FIRST("GREEN"). 

The methods in this section are listed alphabetically by name. Each method entry defines the data type of the return value and describes any required parameters.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095