Sign in Join
FPDoc Onlineexperiment

TWinControl.BoundsLockCount property

Member of TWinControlpublicIn unit Controls

A counter used to track updates to the BoundsRect for the control.

Declaration

pascal
property BoundsLockCount: Integer read FBoundsLockCount;

Description

BoundsLockCount is a read-only Integer property with the counter used to track active updates to the BoundsRect for the control. Its value is maintained when the BeginUpdateBounds and EndUpdateBounds methods are called. Its value is incremented when BeginUpdateBounds is called, and decremented when EndUpdateBounds is called. When it has a non-zero value, updates to the BoundsRect property are blocked. When it reaches 0 (zero), the SetBounds method is called to store the values in Left, Top, Width, and Height to the bounds rectangle.

See also

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