magicwindow
WINDOW

The magicwindow statement designates an open window as the temporary active window for the purposes of info( functions and graphic statements.


Parameters

This statement has one parameter:

window – the window that you want to designate as the “magic” active window. This must be a window that is currently open. If window is “” then any previous “magic” window designation is cancelled.


Description

This statement designates an open window as the temporary active window for the purposes of info( functions and graphic statements. It does not change the actual active (frontmost) window, and does not affect database operations like data entry, sorting and searching.

This example finds out the current dimensions (location and size) of the Plain form in the Checkbook database. This example assumes that the form is already open.

magicwindow "Checkbook:Plain"
windowDimensions=info("windowrectangle")
magicwindow ""

Note: This statement is nearly identical to the magicformwindow statement. Use magicformwindow when you know the form name but do not know the window name (for example if the window title was changed.)


See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.