RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTreeNode.Count Property

Indicates the number of direct descendants of a tree node.

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

Use Count to determine how many child nodes belong to a tree node. Count includes only immediate children, and not their descendants. Count can be useful when iterating through the children of a tree node. 

 

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