Sign in Join
FPDoc Onlineexperiment

TCustomForm.Resizing procedure

Member of TCustomFormprotectedIn unit Forms

Performs actions needed when the form processes the WMSize message.

Declaration

pascal
procedure Resizing(State: TWindowState); override

Arguments

State

Window state applied in the method.

Description

Uses the value in State to determine the action required in the method. The LCL interface is used to determine if the window state is valid for the widgetset. When allowed, the following methods are called for the corresponding TWindowState value:

wsMinimized
Calls the Minimize method in Application, or Restore if the Form is already minimized.

If the value in WindowState has been changed, the method honors the value in the Position property if it was set to maximized at design-time. When the OnWindowStateChange event handler has been assigned for the form, it is signalled for the current class instance.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.