[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Performs actions needed to auto-adjust the control using the specified layout policy.
Source position: stdctrls.pp line 364
protected procedure TCustomComboBox.DoAutoAdjustLayout( |
const AMode: TLayoutAdjustmentPolicy; |
const AXProportion: Double; |
const AYProportion: Double |
); override; |
AMode |
|
Layout adjustment policy applied in the method. |
AXProportion |
|
Factor used to scale horizontal dimensions. |
AYProportion |
|
Factor used to scale vertical dimensions. |
DoAutoAdjustLayout is an overridden method used to apply an auto-adjust layout policy to the control. DoAutoAdjustLayout calls the inherited method on entry.
DoAutoAdjustLayout ensures that the item height for the control is scaled using the factor in AYProportion when AMode contains the lapAutoAdjustWithoutHorizontalScrolling or lapAutoAdjustForDPI layout adjustment policy values.
DoAutoAdjustLayout is called from the AutoAdjustLayout method.
|
Applies layout changes using the specified policy and scaling proportions to the control. |
|
|
Indicates the policy for the LCL to execute automatic adjustments in the form layout. |
Version 3.2 | Generated 2024-02-25 | Home |