Size Window, Zoom Window
These commands change the size of a window from maximum to minimum or any specified size in between. This is the old FoxPro 2.x way of changing window size. We recommend you use a form's Height, Width and WindowState properties instead.
Usage |
SIZE WINDOW WindowName TO nNewHeight, nNewWidth | BY nRowIncrement, nColumnIncrement ZOOM WINDOW WindowName MIN [ AUTO ] | MAX | NORM [ AT | FROM nTopRow, nLeftColumn [ SIZE nNewHeight, nNewWidth | TO nBottomRow, nRightColumn ] ] |
ZOOM WINDOW MIN and MAX fire the form's Resize event and Refresh method, but ZOOM WINDOW NORM does not. This is another reason, in your authors' opinion, to manipulate WindowState rather than use this command. |
Example |
ACTIVATE WINDOW CALENDAR && Open the calendar/diary ZOOM WINDOW CALENDAR ; NORM AT 3,3 ; SIZE 0,100 && Widen the diary |
See Also |
Height, Left, MaxHeight, MaxWidth, MinHeight, MinWidth, Resize, Top, Width, WindowState |