info("windows")

The info(“windows”) function builds a carriage return separated text array containing a list of all the currently open windows.


Description

This function builds a carriage return separated text array containing a list of all the currently open windows. The example below uses info(“windows”) to check to see if the Invoice:Status window is open. If not, the procedure opens the form.

if 0 = arraysearch(info("windows"),"Invoice:Status",1,cr())
    setwindowrectangle rectangle(20,5,120,255),""
    openform "Status"
endif

Note: This returned list does not include any “secret” windows (because secret windows aren’t actually windows). Only real, visible windows are included in this list.

See also the info(“windownumbers”) function, which lists the unique ID values for all open windows.


See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0