state

Window property that determines the position and size state of the Form window. Setting state takes precedence over setting position and size properties. Use $windowproperties to set state.

Value Description
NORMAL Restore the form window to the position and size it had before it was maximized or minimized (Default)
MAXIMIZED Maximize the form
MINIMIZED Minimize the form
CENTERED Center the form relative to its parent's window

Description

If you set any of the position and size property values, the window state is forced to NORMAL, even if the state was MAXIMIZED or MINIMIZED.

In case of conflicting values, setting state takes precedence over setting position and size properties.

Applies To

Related Topics