OBJECTLIST Service
Description
Gets a field-mark delimited list of objects. Refer to the table in the description for Set_Property() earlier in this chapter for a list of available objects.
Note: This is a Windows only function.
Parameters
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).
Returns
A list of existing controls that have object as a parent and value as a type.
Example
/* window name of MYWIN */ allEditFieldsInMYWIN = Utility ('OBJECTLIST', MYWIN, 'EDITFIELD') allControlsInWYWIN = Utility ('OBJECTLIST', MYWIN, '') allWindowsInSystem = Utility ('OBJECTLIST', '', 'WINDOW') allTopLevelWindows = Utility ('OBJECTLIST', 'SYSTEM', 'WINDOW')