RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTreeNode.Index Property

Specifies the position of the node in the list of child nodes maintained by its parent node.

Pascal
property Index: Integer;
C++
__property int Index;

Use Index to determine the position of the node relative to its sibling nodes. The first child of the parent node has an Index value of 0, and subsequent children are indexed sequentially. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!