zoomwindow
TOP
,
LEFT
,
HEIGHT
,
WIDTH
,
OPTIONS

The zoomwindow statement moves (“zooms”) the current window to a new position and size.


Parameters

This statement has five parameters:

top – top edge of the new window position.

left – left edge of the new window position.

height – new window height.

width – new window width.

options – is an item of text that optionally contains keywords that turn off elements of the window. If the parameter is omitted, the window elements remain the same.

If the text contains NoToolBar (or NoPalette), the window will not have a tool bar. If the text contains NoScroll then the window will not have any scroll bars. If the text contains NoVerticalScroll, the window will not have a vertical scroll bar (this can also be abbreviated as novscroll or novertscroll). If the text contains NoHorizontalScroll, the window will not have a horizontal scroll bar (this can also be abbreviated as nohscroll or nohorzscroll). A procedure may combine several options separated by spaces. If the option text is empty (“”) the window will appear normal. Note: The keywords may be in either upper or lower case, for example, any of the keywords notoolbar, NoToolBar or NOTOOLBAR will eliminate the tool bar.


Description

This statement moves (“zooms”) the current window to a new position and size. Unlike the zoomwindowrectangle statement, this statement allows you to specify the four dimensions for the window as separate parameters.

This example moves the current window to a new position 100 points from the top of the screen and 25 points from the left edge. The window will now be 200 points high and 500 points wide, and will not have a toolbar.

zoomwindow 100,25,200,500,"notoolbar"

See Also


History

VersionStatusNotes
10.0UpdatedCarried over from Panorama 6.0. In Panorama 6.0 and earlier the keyword nopalette was used to disable the tool palette, now the keyword notoolbar can also be used (nopalette still works). In Panorama 6.0 and earlier the vertical and horizontal scroll bars had to be disabled separately. This can still be done, but you can also simply specify noscrollbars to disabled both the horizontal and vertical scroll bars. In Panorama 6.0 and earlier the options parameter was required, now it is optional and will default to `""` if omitted. Note: The zoomwindow statement no longer opens a new window if the options have changed, instead, the current window is modified.