Vcl.DBGrids.TCustomDBGrid.ColumnAtDepth
Delphi
function ColumnAtDepth(Col: TColumn; ADepth: Integer): TColumn;
C++
TColumn* __fastcall ColumnAtDepth(TColumn* Col, int ADepth);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.DbGrids.pas Vcl.DBGrids.hpp |
Vcl.DBGrids | TCustomDBGrid |
Description
Returns the column object associated with nth parent field of the given column.
ColumnAtDepth is used to calculate MasterCol used in the CalcTitleRec method.