WindowState Property

Applies To
Form

Description
Gets or sets the form's window state.

Usage

GGet Form.WindowState, var  
GSet  Form.WindowState, value  
Form
Name of a form or string variable containing a form name.
var
Integer variable that will contain the value of the property.
value
Integer expression for the new value of the property.

Values
0 - Normal
1 - Minimized
2 - Maximized
Default: Normal

See Also
Form

Example

GSet frmMain.WindowState, WINDOWSTATE_MAXIMIZED