TCustomEdit.CalculatePreferredSize procedure
Gets the preferred size for a new instance of the class.
Declaration
procedure CalculatePreferredSize(var PreferredWidth: Integer;
var PreferredHeight: Integer;
WithThemeSpace: Boolean); overrideArguments
PreferredWidth | Preferred width calculated for the control. |
PreferredHeight | Preferred height calculated for the control. |
WithThemeSpace | True when space is reserved for theme element details. |
Description
CalculatePreferredSize is overridden in
TCustomEdit,
and calls the inherited method on entry. CalculatePreferredSize sets the
value in the
PreferredWidth parameter to
0 (
zero).
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
