Progress
External Program
Interfaces
Viewing Methods, Properties, and Events
When you select a COM object in the COM Objects listbox, a Methods/Properties/Events listbox shows the methods, properties, and events of the COM object in alphabetical order. Methods and events appear with a pair of parentheses following the name. Properties for constant COM objects appear as a set of constant values.
When you select an item in the Methods/Properties/Events listbox, the Progress Syntax editbox shows sample 4GL syntax for using it. You can cut and paste this syntax into a 4GL procedure. Figure 7–2 shows the OCX event procedure syntax for the CSComboBox KeyDown event.
The tool also displays information on the method, property, or event above the Progress Syntax editbox, including:
With the sample 4GL syntax, the tool displays any important information on parameters and return data type, including:
Progress COM Object Viewer button
- Methods that do not return a value (called with NO-RETURN-VALUE)
- The return data type of a method that does return a value (shown prefixed to the name of the sample variable on the left side of the assignment)
- The data type of the parameters (shown prefixed to the name of each sample variable for a parameter)
- The mode of the parameter (OUTPUT or INPUT-OUTPUT)
- The value of a constant
- Optional portions of the syntax in brackets ([...])
- PROCEDURE definitions for events, including any parameters.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |