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

Name
BEEP Service
CHOOSECOLOR Service
CHOOSEDIR Service
CHOOSEFILE Service
CHOOSEFONT Service
COPYFILE Service
CREATE Service
CURSOR Service
DESTROY Service
FLUSH Service
GET_EVENT Service
GETLOGICALDRIVES Service
MAKEDIR Service
OBJECTID Service
PRINTSETUP Service
REMOVEDIR Service
RENAMEDIR Service
RENAMEFILE Service
RUNHELP Service
RUNWIN Service
TEXTRECT Service
WINCOUNT Service
HANDLE_BY_CURSOR Service
IUNKNOWN_RELEASE Service
LOAD_PICTURE Service
OBJECT_BY_CURSOR Service
PICTURE_PROPS Service