Sign in Join
FPDoc Onlineexperiment

TCustomDBGrid.GetDefaultColumnWidth function

Member of TCustomDBGridprotectedIn unit DBGrids

Gets the default width for the specified column.

Declaration

pascal
function GetDefaultColumnWidth(Column: Integer): Integer; override

Arguments

Column

Column number to use for the calculation.

Function result

Default width of the column.

Description

GetDefaultColumnWidth is an overridden Integer function used to get the default width for the specified column number. GetDefaultColumnWidth calls the DefaultFieldColWidth method for the specified column. The return value is the width of the column calculate using either the display name or the display width for the TField in the column.

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