[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Adjusts the size for the associated Control, and signals the OnChange handler when assigned.
Source position: controls.pp line 720
protected procedure TSizeConstraints.Change; virtual; |
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.
|
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. |
|
|
The associated Control to which these constraints apply. |
|
|
Event handler signalled when a value in the class instance has been changed. |
|
|
Copies property values to the specified persistent object. |
|
|
Adjusts width and height values in the class using the specified scaling factors. |
|
|
Smart way to DoAutoSize. |
Version 4.0 | Generated 2025-05-03 | Home |