[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
If the the form is about to show, calculate its metrics.
Source position: forms.pp line 598
protected procedure TCustomForm.AllAutoSized; override; |
AllAutoSized is an overridden method used to apply the position and layout for a visible form that about to be displayed. AllAutoSized implements the virtual method defined in the ancestor class.
AllAutoSized is called from the DoAllAutoSize method when AutoSize has been enabled, and occurs after the bounds for the form have been calculated. It calls the MoveToDefaultPosition method to move the form to the monitor and relative location in Position.
No actions are performed in the method if the form is already Showing or it is not Visible.
|
Indicates if the control is visible on its parent. |
|
|
Moves the form to the location specified in the Position property. |
|
|
The initial placement for the form. |
|
|
Cached widget visibility, not necessarily in sync with the widget. |
|
|
Called by DoAllAutoSize after all bounds are computed. |
|
|
Resizes and aligns the control and all of it children. |
lazarus-ccr.sourceforge.net |