The resize window statement changes the size of a window.
resize window name to h-size, v-size
• 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.
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.