Sign in Join
FPDoc Onlineexperiment

TCustomHeaderControl.ChangeScale procedure

Member of TCustomHeaderControlpublicIn unit ComCtrls

Scales the width of the header sections in the control using the specified multiplier and divisor.

Declaration

pascal
procedure ChangeScale(M: Integer; D: Integer); override

Arguments

M

Multiplier for the scaling factor.

D

Divisor for the scaling factor.

Description

ChangeScale is an overridden method in TCustomHeaderControl, and calls the inherited method on entry to scale the overall size for the control and its child controls. ChangeScale applies the scaling factor represented by M and D to the individual header sections defined in the Sections collection. The Width for each THeaderSection instance is updated using the multiplier and divisor to scale the section width.

See also

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