[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Smart way to DoAutoSize.
Source position: controls.pp line 1500
public procedure TControl.AdjustSize; virtual; |
This method does the same as Delphi 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.
During loading and handle creation the calls are delayed.
|
AutoSize - boolean property that permits the size of a control to be adjusted automatically |
lazarus-ccr.sourceforge.net |