Vcl.ComCtrls.TTreeNodes.Insert

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also