[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
The maximum height for the associated Control.
Source position: controls.pp line 746
published property TSizeConstraints.MaxHeight : TConstraintSize |
MaxHeight is a TConstraintSize property which contains the maximum height in pixels allowed for the associated Control. The default value for the property is 0 (zero) and indicates that the size constraint has not been assigned and is not enforced.
Changing the value for the property causes assigned (non-zero) values in MaxHeight and MinHeight to be normalized; the smaller of the two values becomes the MinHeight, and the larger of the two values becomes the MaxHeight. The Change method is called to apply the new size constraints to Control, and to signal the OnChange event handler (when assigned).
Use MinHeight to set minimum height for the associated Control.
Use MaxWidth and MinWidth to set the constrained width 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. |
|
|
The associated Control to which these constraints apply. |
Version 4.0 | Generated 2025-05-03 | Home |