[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TCustomForm.Resizing

Performs actions needed when the form processes the WMSize message.

Declaration

Source position: forms.pp line 662

protected procedure TCustomForm.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

TScrollingWinControl.Resizing

  

Performs actions needed when the control processes the WMSize message.

TCustomForm.WMSize

  

Handles the LM_SIZE window message for the form.

TScrollingWinControl.WMSize

  

Performs actions needed to handle WMSize messages.

TCustomForm.OnWindowStateChange

  

Handler called when the form is minimized, maximized or restored.


Version 3.2 Generated 2024-02-25 Home