Sign in Join
FPDoc Onlineexperiment

TControl.DoConstraintsChange procedure

Member of TControlprotectedIn unit Controls

Performs actions needed when value(s) in Constraints have been changed.

Declaration

pascal
procedure DoConstraintsChange(Sender: TObject); virtual

Arguments

Sender

Not used in the method.

Description

DoConstraintsChange calls AdjustSize to ensure that the control and any children are sized and positioned to the new Constraints for the control. The method is overridden in descendent classes, like TWinControl, to perform actions needed for the class instance.

Called from the TSizeConstraints.Change method before it signals the OnChange event handler in the constraints class instance.

See also

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