Sign in Join
FPDoc Onlineexperiment

TCustomHeaderControl.DoAutoAdjustLayout procedure

Member of TCustomHeaderControlprotectedIn unit ComCtrls

Applies an automatic layout policy to the control using the specified scaling factors.

Declaration

pascal
procedure DoAutoAdjustLayout(const AMode: TLayoutAdjustmentPolicy; 
 const AXProportion: Double; 
 const AYProportion: Double); override

Arguments

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.

Description

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.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.