[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Gets the preferred size for a new instance of the class.
Source position: stdctrls.pp line 798
protected procedure TCustomEdit.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. |
CalculatePreferredSize is overridden in TCustomEdit, and calls the inherited method on entry. CalculatePreferredSize sets the value in the PreferredWidth parameter to 0 (zero).
|
Override this method to return a different preferred height and/or width for auto-sizing. |
Version 3.2 | Generated 2024-02-25 | Home |