RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTreeNode.getFirstChild Method

Returns the first child node of a tree node.

Pascal
function getFirstChild: TTreeNode;
C++
__fastcall TTreeNode getFirstChild();

Call GetFirstChild to access the first child node of the tree view node. If the node has no children, GetFirstChild returns nil (Delphi) or NULL (C++).

Note: GetFirstChild returns the same value as Item[0].
 

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