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

TControl.AutoSizing

Contains True while auto-sizing is in progress.

Declaration

Source position: controls.pp line 1413

protected property TControl.AutoSizing : Boolean
  read FAutoSizingSelf;

Description

AutoSizing is a read-only Boolean property which indicates if an auto-size operation is currently active for the control. The property value is set to True when the BeginAutoSizing method is called, and set to False in the EndAutoSizing method. These methods raise a catchable exception when AutoSizing does not contain the expected / required value.

See also

TControl.BeginAutoSizing

  

Sets AutoSizing to True; used to prevent loops.

TControl.EndAutoSizing

  

End of the auto-sizing process, resets AutoSizing to False.


Version 3.2 Generated 2024-02-25 Home