Sign in Join
FPDoc Onlineexperiment

TControl.ScaleConstraints procedure

Member of TControlprotectedIn unit Controls

Scales the minimum and maximum Width and Height.

Declaration

pascal
procedure ScaleConstraints(Multiplier: Integer; Divider: Integer)

Arguments

Multiplier

Multiplier used to derive the scaling factor for the control constraints.

Divider

Divisor used to derive the scaling factor for the control constraints.

Description

ScaleConstraints is called from the ChangeScale method; never call it directly. Multiplier and Divider contain the values passed as arguments to the ChangeScale method.

See also

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