TSizeConstraints.AssignTo procedure
Copies property values to the specified persistent object.
Declaration
procedure AssignTo(Dest: TPersistent); overrideArguments
Dest | Persistent object where property values are stored. |
Description
AssignTo is an overridden method in
TSizeConstraints used
to implement object persistence. It ensures that properties specific to
TSizeConstraints are stored to the persistent object in the
Dest
parameter, and includes the MaxHeight, MaxWidth, MinHeight, and MinWidth
properties. The Change method is called to adjust the size for the associated
Control, and to signal the OnChange event handler when assigned.
No actions are performed in the method if the properties in the class instance have the same values as their counterparts in the Dest argument.
If Dest is not derived from TSizeConstraints, the inherited AssignTo method is called.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
