DADiSP Worksheet Functions > Function Categories > Window Sizing & Layout > SETWSIZE
Sets the size of a Window in normalized coordinates.
SETWSIZE(win, xl, yt, width, height, drawmode)
win |
- |
Optional. The target Window reference. Defaults to the current Window. |
||||||
xl |
- |
A real, the left location. |
||||||
yt |
- |
A real, the top location. |
||||||
width |
- |
A real, the new Window width in normalized coords. |
||||||
height |
- |
A real, the new Window height in normalized coords. |
||||||
drawmode |
- |
Optional. An integer, the redraw mode:
|
setwsize(W1, 0, 0, .5, .5)
resizes W1 to be 1/4 the size of the worksheet.
If xl = yt = height = width = -1.0, the Window is auto-sized. For example:
setwsize(W1.., -1, -1, -1, -1)
resets all the Windows to auto-size mode.
DISPLAYALL and adding Windows also reset the Windows to auto-sized.
The size is specified in terms of a normal coordinate system where 0.0, 0.0 is the upper left corner of the Worksheet and 1.0, 1.0 is the lower right corner.
See SETWSX and SETWSY to set the size of the displayed Worksheet.