Sign in Join
FPDoc Onlineexperiment

TCustomGrid.CalculatePreferredSize procedure

Member of TCustomGridprotectedIn unit Grids

Gets the preferred width and height for the control.

Declaration

pascal
procedure CalculatePreferredSize(var PreferredWidth: Integer; 
 var PreferredHeight: Integer; 
 WithThemeSpace: Boolean); override

Arguments

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.

Description

Always returns 0 (zero) in the PreferredWidth and PreferredHeight variable arguments.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.