Sign in Join
FPDoc Onlineexperiment

TControl.Constraints property

Member of TControlpublicIn unit Controls

Contains the minimum and maximum Width and Height for the control.

Declaration

pascal
property Constraints: TSizeConstraints read FConstraints write SetConstraints;

Description

Constraints is a TSizeConstraints property with the sizing constraints used for the control. Constraints contains properties like MinHeight, MaxHeight, MinWidth, and MaxWidth. They are applied (when assigned) to the corresponding control properties when its bounds or preferred size is changed, and during scaling operations.

See also

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