Vcl.DBGrids.TCustomDBGrid.ColumnAtDepth

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also