[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
AdjustSize - Smart way to DoAutoSize
Source position: controls.pp line 1264
public procedure TControl.AdjustSize; virtual; |
TControl.AdjustSize calls DoAutoSize in a smart fashion.
During loading and handle creation the calls are delayed.
This method initially does the same as TWinControl.DoAutoSize. But since DoAutoSize is commonly overriden by descendant components, it is not useful to perform all tests, which can result in too much overhead. To reduce this the LCL calls AdjustSize instead.
|
AutoSize - boolean property that permits the size of a control to be adjusted automatically |
lazarus-ccr.sourceforge.net |