TTMSFNCTreeViewData.InsertNode Method
Inserts a node at a specific position under an optional parent node.
API unit family: TMSFNCTreeViewData
Declaring type: TTMSFNCTreeViewData
Syntax
function InsertNode(AIndex: Integer; AParentNode: TTMSFNCTreeViewNode = nil): TTMSFNCTreeViewNode; virtual;
Parameters
| Name | Description |
|---|---|
AIndex |
The insert position. |
AParentNode |
The parent node, or nil to insert a root node. |
Returns
The newly created node.