Form - WindowState Property
WindowState controls how the window is displayed
Member of Form (PRIM_FORM)
Data Type - Enumeration

Details


The WindowState controls the fundamental size and position of the form.
When shown for the first time, if the WindowState is set to Minimized, the will display as normal to avoid a situation where the form would not appear on the desktop.

Allowed Values

Enum Value

Description

Maximized

Form is currently maximized. Setting to this value is the equivalent to using the MaximizeForm method

Minimzed

Form is currently minimized. Setting to this value is the equivalent to using the MinimizeForm method

Normal

>Form is neither maximized nor minimized. Setting to this value is the equivalent to using the RestoreForm method

See also

All Component Classes
Technical Reference