[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Applies an automatic layout policy to the control using the specified scaling factors.
Source position: comctrls.pp line 4079
protected procedure TCustomHeaderControl.DoAutoAdjustLayout( |
const AMode: TLayoutAdjustmentPolicy; |
const AXProportion: Double; |
const AYProportion: Double |
); override; |
AMode |
|
Layout adjustment policy applied in the method. |
AXProportion |
|
Scaling factor for horizontal adjustments applied in the method. |
AYProportion |
|
Scaling factor for vertical adjustments applied in the method. |
DoAutoAdjustLayout calls the inherited method (in TControl) to apply adjusts to the dimensions, border spacing, and anchoring common to all controls. It extends the inherited method to adjust the Width for the Sections defined on the control using the AXProportion argument.
|
Sections - the short segments of the header separated by vertical bars that function as the elementary selection units of the header. |
|
|
Total width in pixels for the text and image on the header section. |
|
|
Applies layout changes using the specified policy and scaling proportions to the control. |
Version 4.0 | Generated 2025-05-03 | Home |