Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TControl.AutoSizing

Contains True while auto-sizing is in progress.

Declaration

Source position: controls.pp line 1340

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.



CT Web help

CodeTyphon Studio