Sign in Join
FPDoc Onlineexperiment

TCustomDBGrid.GetDefaultColumnTitle function

Member of TCustomDBGridprotectedIn unit DBGrids

Gets the default title displayed for the specified column.

Declaration

pascal
function GetDefaultColumnTitle(Column: Integer): string; override

Arguments

Column

Column number to locate in the Fields for the grid control.

Function result

Default title for the column.

Description

GetDefaultColumnTitle is an overridden String function used to get the default title displayed for the specified column number. GetDefaultColumnTitle gets the TField used for the column (when available) and uses its DisplayName as the return value for the method. The return value is an empty String ('') when a TField instance is not available for the specified column.

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