Sign in Join
FPDoc Onlineexperiment

TCustomDBGrid.CreateColumns function

Member of TCustomDBGridprotectedIn unit DBGrids

Creates the Columns collection for the grid control.

Declaration

pascal
function CreateColumns: TGridColumns; override

Function result

Columns collection for the grid control.

Description

CreateColumns is an overridden TGridColumns function used to create the Columns collection for the grid control. In TDBGrid, the Columns collection is implemented using the TDBGridColumns class type (a descendant of TGridColumns). CreateColumns creates an instance of TDBGridColumns which is used as the return value for the method.

See also

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