| [Overview][Constants][Types][Classes][Procedures and functions][Index] | 
Calculates the preferred width and height for the control.
Source position: comctrls.pp line 2608
| protected procedure TCustomCoolBar.CalculatePreferredSize( | 
| var PreferredWidth: Integer; | 
| var PreferredHeight: Integer; | 
| WithThemeSpace: Boolean | 
| ); override; | 
| WithThemeSpace | 
 | True to reserve additional space for theme elements. | 
| 
 | Override this method to return a different preferred height and/or width for auto-sizing. | 
| Version 4.0 | Generated 2025-05-03 | Home |