getwindow
TOP
,
LEFT
,
HEIGHT
,
WIDTH

The getwindow statement retrieves the position and size of the current window.


Parameters

This statement has four parameters:

top – field or variable that will be filled with the top edge of the window.

left – field or variable that will be filled with the left edge of the window.

height – field or variable that will be filled with the height of the window.

width – field or variable that will be filled with the width of the window.


Description

This statement retrieves the position and size of the current window. These values can be used for the setwindow or zoomwindow statements. The example below shows how this statement is used:

local WTop, WLeft, WHght, WWidth
GetWindow WTop, WLeft, WHght, WWidth

Note: This statement is obsolete, in new code you should use the info(“windowrectangle”) function.


See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.