[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Gets the preferred size for new instances of the class.
Source position: stdctrls.pp line 98
protected procedure TCustomScrollBar.CalculatePreferredSize( |
var PreferredWidth: Integer; |
var PreferredHeight: Integer; |
WithThemeSpace: Boolean |
); override; |
PreferredWidth |
|
Preferred width calculated for the control. |
PreferredHeight |
|
Preferred height calculated for the control. |
WithThemeSpace |
|
True when space is reserved for theme element details in the calculated dimensions. |
CalculatePreferredSize is overridden in TCustomScrollBar. The inherited method is called, and the value in PreferredHeight or PreferredWidth is updated, based on the value in Kind, to use the corresponding value from GetSystemMetrics.
|
Contains the scrollbar orientation, horizontal or vertical. |
|
|
Override this method to return a different preferred height and/or width for auto-sizing. |
|
|
Retrieves various system metrics. |
Version 4.0 | Generated 2025-05-03 | Home |