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

ParameterDescription
<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).

ReturnvalueA 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')

Note

If the window name is unassigned, and this service is called in a window context, the controls in the current window are returned.

Exception

You cannot ask for all 'MENU' objects in a system:

Utility ('OBJECTLIST', '', 'MENU') returns null.

See Also

  • No labels