Page History
...
Parameter | Description |
---|---|
<object> | <Window name> (optional). If null, through all windows. |
<value> | <Object type> (optional). If null, all types. If Object = 'SYSTEM' and type is 'WINDOW', all top level windows (without MDI child or dialog windows). |
Returnvalue | A list of existing controls that have object as a parent and value as a type. |
Example
Code Block |
---|
/* window name of MYWIN */ allEditFieldsInMYWIN = Utility ('OBJECTLIST', MYWIN, 'EDITFIELD') allControlsInWYWIN = Utility ('OBJECTLIST', MYWIN, '') allWindowsInSystem = Utility ('OBJECTLIST', '', 'WINDOW') allTopLevelWindows = Utility ('OBJECTLIST', 'SYSTEM',| 'WINDOW') |
...
Note
If the window name is unassigned, and this service is called in a window context, the controls in the current window are returned.
...