Vcl.ComCtrls.TTreeNodes.Insert
Delphi
function Insert(Sibling: TTreeNode; const S: string): TTreeNode;
C++
TTreeNode* __fastcall Insert(TTreeNode* Sibling, const System::UnicodeString S);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TTreeNodes |
Description
Inserts a tree node into the tree view before the node specified by the Node parameter.
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.