[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TTreeNodes.Insert

Inserts a tree node with the specified text before the specified node.

Declaration

Source position: comctrls.pp line 3256

public function TTreeNodes.Insert(

  NextNode: TTreeNode;

  const S: string

):TTreeNode;

Arguments

NextNode

  

Tree node that will become the next sibling for the inserted node.

S

  

Text for the tree node created and stored in the method.

Function result

TTreeNode instance created and stored in the method.

See also

TTreeNodes.InsertObject

  

Inserts a new tree node with the specified text and data just before the specified node.

TTreeNode.Text

  

Text displayed for the tree node.

TTreeNode.Level

  

The number of ancestor nodes for the current tree node.


Version 3.2 Generated 2024-02-25 Home