RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBGridColumns.Create Constructor

Creates and initializes a TDBGridColumns object.

Pascal
constructor Create(Grid: TCustomDBGrid; ColumnClass: TColumnClass);
C++
__fastcall TDBGridColumns(TCustomDBGrid Grid, TColumnClass ColumnClass);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!