TCustomForm.WindowState property
Indicates whether the form is displayed in a minimized, maximized, full-screen or normal state.
Declaration
property WindowState: TWindowState read FWindowState write SetWindowState default wsNormal;Description
WindowState is a
TWindowState property which indicates
whether the form is currently displayed minimized, maximized, full-screen or
normal (restored) state. The default value is
wsNormal (i. e.
neither minimized nor maximized).
Changing the value for the property at run-time causes the
ShowWindow routine to be called with the Integer display command
representing the new property value. The action is not performed at
design-time, or when Showing is set to False.
For the Windows platform, wsFullScreen is converted to wsMaximized when
calling the ShowWindow API function; the Windows API does not provide a
full-screen option.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
