info(“windows”)

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


Description

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

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0