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

TWinControl.DoAutoSize

Shrinks or enlarges the control to accommodate its children.

Declaration

Source position: controls.pp line 2189

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.


Version 3.2 Generated 2024-02-25 Home