Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

 

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.

...