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

TWinControl.DoAutoSize

Shrinks or enlarges the control to accommodate its children.

Declaration

Source position: controls.pp line 2114

protected procedure TWinControl.DoAutoSize; override;

Description

Because this method is frequently overridden, the LCL calls the TControl.AdjustSize method instead; it checks whether DoAutoSize really should be called right now.

DoAutoSize performs the following:

See also

TControl.DoAutoSize

  

For internal use only; call AdjustSize instead.



CT Web help

CodeTyphon Studio