Calculates the default height and width required for the control.
Source position: buttons.pp line 353
protected procedure TCustomSpeedButton.CalculatePreferredSize( |
var PreferredWidth: Integer; |
var PreferredHeight: Integer; |
WithThemeSpace: Boolean |
); override; |
PreferredWidth |
|
Width calculated for the control. |
PreferredHeight |
|
Height calculated for the control. |
WithThemeSpace |
|
Not used in the current implementation. |
Calls MeasureDraw to gets the values for the variable parameters in PreferredWidth and PreferredHeight.
Remark: | Please note: The WithThemeSpace parameter is NOT used in the current implementation. |