RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDBGrid.ColumnAtDepth Method

Returns the column object associated with nth parent field of the given column.

Pascal
function ColumnAtDepth(Col: TColumn; ADepth: Integer): TColumn;
C++
__fastcall TColumn ColumnAtDepth(TColumn Col, int ADepth);

ColumnAtDepth is used to calculate MasterCol used in the CalcTitleRec method. 

 

CalcTitleRec

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