Sign in Join
FPDoc Onlineexperiment

TSizeConstraints.Change procedure

Member of TSizeConstraintsprotectedIn unit Controls

Adjusts the size for the associated Control, and signals the OnChange handler when assigned.

Declaration

pascal
procedure Change; virtual

Description

Change causes the AdjustSize method to be called in the associated Control. It signals the OnChange event handler (when assigned) using the TSizeConstraints instance as the Sender argument in the notification.

Change is called when a new value is assigned to the MaxWidth, MinWidth, MaxHeight, or MinHeight properties. It is called when AssignTo is used to store property values from the class instance to another persistent object. It is also called when the AutoAdjustLayout is used to scale values in MaxWidth, MinWidth, MaxHeight, or MinHeight properties by a specified size factor.

See also

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