[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Gets the preferred width and height for the control.
Source position: grids.pas line 992
protected procedure TCustomGrid.CalculatePreferredSize( |
var PreferredWidth: Integer; |
var PreferredHeight: Integer; |
WithThemeSpace: Boolean |
); override; |
PreferredWidth |
|
Preferred width for a new instance of the class. |
PreferredHeight |
|
Preferred height for a new instance of the class. |
WithThemeSpace |
|
Not used in the current implementation. |
Always returns 0 (zero) in the PreferredWidth and PreferredHeight variable arguments.
|
Override this method to return a different preferred height and/or width for auto-sizing. |
Version 4.0 | Generated 2025-05-03 | Home |