Vcl.DBGrids.TDBGridColumns.Create
Delphi
constructor Create(Grid: TCustomDBGrid; ColumnClass: TColumnClass);
C++
__fastcall TDBGridColumns(TCustomDBGrid* Grid, TColumnClass ColumnClass);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.DbGrids.pas Vcl.DBGrids.hpp |
Vcl.DBGrids | TDBGridColumns |
Description
Creates and initializes a TDBGridColumns object.
The Create method takes two parameters: a data-grid instance object and TColumn (or the name of a class derived from TColumn).
An application should seldom need to call Create directly. Instead, objects that use a TDBGridColumns object instantiate the object as part of their initialization. An example of such an object is the TDBGrid and its Columns property.