Sign in Join
FPDoc Onlineexperiment

TControl.Resize procedure

Member of TControlprotectedIn unit Controls

Checks for changes and calls DoOnResize if needed.

Declaration

pascal
procedure Resize; virtual

Description

No actions are performed in the method at design-time, during LCL component streaming, or when AutoSizeDelayed is set to True.

Resize updates internal members used to track the current values in the Width, Height, ClientWidth, and ClientHeight properties. It calls DoOnResize to signal OnResize event handler(s) (when assigned) for the control.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.