Vcl.DBGrids.TDBGridColumns.Add
Delphi
function Add: TColumn;
C++
HIDESBASE TColumn* __fastcall Add();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.DbGrids.pas Vcl.DBGrids.hpp |
Vcl.DBGrids | TDBGridColumns |
Description
Creates a new TColumn instance and adds it to the Items array.
Add returns the new column. At design time, use the data grid's Columns editor to add columns to the grid.