RAD Studio VCL Reference
|
Returns the position of the column in relation to any parent columns. A column with no parent column returns 0.
function Depth: Integer;
__fastcall int Depth();
If a column does not have any parent columns, Depth returns 0. Columns with parent columns return a number equal to the number of parents it has. For example, a parentless ADT field called Date has a Depth of 0. Its three child fields, Month, Day, and Year, each have a Depth of 1.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|