Difference between revisions of "RESIZE WINDOW"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
Line 1: Line 1:
==Class==
 
Screen Windows
 
  
  

Revision as of 15:14, 23 October 2009


Purpose

Change the size of a pre-defined window


Syntax

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


See Also

ACTIVATE SCREEN, ACTIVATE WINDOW, CLEAR WINDOWS, DEACTIVATE WINDOW, DEFINE WINDOW, HIDE WINDOW, MOVE WINDOW, RELEASE WINDOWS, RESTORE WINDOW, SAVE WINDOW, SHOW WINDOW, WCOLS(), WEXIST(), WONTOP(), WOUTPUT(), WROWS(), WTITLE(), WVISIBLE()


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