Sign in Join
FPDoc Onlineexperiment

TWinControl.IsResizing property

Member of TWinControlpublicIn unit Controls

Indicates if the control is changing its size after the BeginUpdateBounds method has been called.

Declaration

pascal
property IsResizing: Boolean read GetIsResizing;

Description

IsResizing is a read-only Boolean property which indicates if SetBounds has been called to resize the control, but the action has not been completed. An internal bounds lock counter is used to track the progress of a resize operation. It is incremented when BeginUpdateBounds is called and decremented in the EndUpdateBounds method. The property value is True when the internal bounds lock counter has a non-zero value.

IsResizing is used when a designer surface in the Lazarus IDE tries to select one of its components. It prevents the selection if the SetBounds operation is still in progress (IsResizing is True).

See also

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