[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Calculates the preferred width and height for the control.
Source position: comctrls.pp line 1983
protected procedure TCustomUpDown.CalculatePreferredSize( |
var PreferredWidth: Integer; |
var PreferredHeight: Integer; |
WithThemeSpace: Boolean |
); override; |
PreferredWidth |
|
Returns the preferred width for the control in pixels. |
PreferredHeight |
|
Returns the preferred height for the control in pixels. |
WithThemeSpace |
|
Not used in the method. |
Returns the preferred width and height (in pixels) for the class instance. The value in Orientation is used to determine the width and height values returned in the PreferredWidth and PreferredHeight arguments.
Version 4.0 | Generated 2025-05-03 | Home |