WINDOW SIZE

Resizes, maximizes, minimizes, or restores an open window.

Syntax

WINDOW SIZE [window] size-option

Parameters

window

The name of an open window. Can be
a window object name, or
(expr), where expr is a character string, or an expression that evaluates to a character string, that is to be used at run time as a window object name. The parentheses must be entered.

size-option

Size-option can be
TO height width
Sizes the window to specific dimensions, where height and width are numbers, or expressions evaluating to numbers, that express the new height and width of the window in rows and characters, respectively.
MAXIMIZE
Sizes a clipped window so that it fills the client area of its parent window, or a pop-up window so that it fills the entire screen.
MINIMIZE
Turns a clipped window into an icon near the bottom left-hand corner of its parent window, or turns a pop-up window into an icon near the bottom left-hand corner of the screen.
RESTORE
Restores the client area of a maximized or minimized window to its previous dimensions.

Comments

The WINDOW SIZE command establishes new dimensions for an open window (client area).

 

Related Topics