[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Copies property values to the specified persistent object.
Source position: controls.pp line 721
protected procedure TSizeConstraints.AssignTo( |
Dest: TPersistent |
); override; |
Dest |
|
Persistent object where property values are stored. |
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.
|
The maximum height for the associated Control. |
|
|
The maximum width for the associated Control. |
|
|
The minimum height for the associated Control. |
|
|
The minimum width for the associated Control. |
|
|
Adjusts the size for the associated Control, and signals the OnChange handler when assigned. |
|
|
Event handler signalled when a value in the class instance has been changed. |
|
|
Smart way to DoAutoSize. |
|
Version 4.0 | Generated 2025-05-03 | Home |