[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Automatically adjusts the size and layout for the control (and all of its children).
Source position: controls.pp line 2398
public procedure TWinControl.AutoAdjustLayout( |
AMode: TLayoutAdjustmentPolicy; |
const AFromPPI: Integer; |
const AToPPI: Integer; |
const AOldFormWidth: Integer; |
const ANewFormWidth: Integer |
); override; |
AMode |
|
Layout mode applied in the method. |
AFromPPI |
|
Existing pixels per inch (PPI) setting for the control. |
AToPPI |
|
Target pixels per inch (PPI) setting for the control. |
AOldFormWidth |
|
Form width before PPI scaling is applied. |
ANewFormWidth |
|
Form width after PPI scaling is applied. |
AutoAdjustLayout is an overridden procedure used to automatically adjust the size and layout for the control. All children in the Controls property also call their AutoAdjustLayout method, and the inherited method is called to adjust and resize the current control instance.
AutoAdjustLayout calls DisableAutoSizing on entry, and EnableAutoSizing prior to exit from the method.
|
Applies an automatic adjustment layout policy to the control. |
|
|
Disables automatic sizing; implies that the default size is accepted, or sizing is done manually. |
|
|
Enables automatic sizing for the control. |
|
|
Applies layout changes using the specified policy and scaling proportions to the control. |
|
|
Provides indexed access to the child controls for the class instance. |
Version 3.2 | Generated 2024-02-25 | Home |