resize window

Examples


The resize window statement changes the size of a window.

Syntax

resize window name to h-size, v-size

Parameters

name – The name of the window to be resized.

h-size – An integer representing the new horizontal width of the window, measured in pixels.

v-size An integer representing the new vertical height of the window, measured in pixels.

Comments

This statement doesn’t change the top, left position of the window, only the overall horizontal or vertical size. If one of the dimensions is to remain unchanged, use -1 as the parameter. If the window size is reduced, fields located outside the new size may no longer be accessible.

The resize window statement will resize the window, regardless of how the Resizeable property for the window is set. The resize window statement will also resize the controls in the window. To resize the window without resizing controls, use the Window_SetBaseSize() function.


Documentation Feedback