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 Sibling parameter, immediately preceding Sibling. The S parameter specifies the Text property of the new node. Insert returns the new node. 

 

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