Sign in Join
FPDoc Onlineexperiment

TCustomGrid.CreateColumns function

Member of TCustomGridprotectedIn unit Grids

Allocates and configures resources for the Columns collection.

Declaration

pascal
function CreateColumns: TGridColumns; virtual

Function result

TGridColumns instance created in the method.

Description

CreateColumns is a TGridColumns function used create a new TGridColumns instance for the grid control. TGridColumn is the class type used for items stored in the collection.

CreateColumns is called from the Create constructor, and the return value is assigned to the member used for the Columns property.

See also

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