RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTreeNodes.Insert Method

Inserts a tree node into the tree view before the node specified by the Node parameter.

Pascal
function Insert(Sibling: TTreeNode; const S: string): TTreeNode;
C++
__fastcall TTreeNode Insert(TTreeNode Sibling, const AnsiString S);

Call Insert to add a new sibling to the Node parameter, immediately preceding Node. The S parameter specifies the Text property of the new node. Insert returns the new node. 

 

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