Difference between revisions of "RESIZE WINDOW"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 1: Line 1:
=RESIZE WINDOW=
 
 
 
 
==Class==
 
==Class==
 
Screen Windows
 
Screen Windows
Line 34: Line 31:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 +
[[Category:Screen Windows]]
 +
[[Category:Screen Windows Commands]]

Revision as of 15:27, 1 June 2009

Class

Screen Windows


Purpose

Change the size of a pre-defined window


Syntax

RESIZE WINDOW <window-name> BY <expN1>,<expN2>,<expN3>,<expN4>


See Also

ACTIVATE WINDOW, DEFINE WINDOW, MOVE WINDOW, WCOLS(),WROWS()


Description

The RESIZE WINDOW command changes the size of a window that has been previously defined with the DEFINE WINDOW command, and activated with the ACTIVATE WINDOW command. Resizable windows are specified by including the GROW keyword in the DEFINE WINDOW command. The <window-name> is the name of the window as specified in the DEFINE WINDOW command.

The RESIZE WINDOW command changes the size of a window according to the ordinates specified by numeric expressions <expN1> - <expN4>. The numeric expressions refer to the top and bottom rows, and the left and right columns, respectively. The ordinates are relative to the window's current position, not to the entire screen. Depending on the numeric expression a negative ordinate will resize the window to the left or up, and a positive ordinate will resize the window to the right or down.


Example

resize window browse by -1,0,0,0


Products

Recital Mirage Server, Recital Terminal Developer