TreeView Xojo plugin

TreeViewNode.InsertNode Method

Inserts a child node at a given index to the current node.

InsertNode(
   where as Integer,
   node as TreeViewNode)

Parameters

where
The index that defines where to add. (zero based)
node
The node to insert.

Remarks

When working with nodes that are already in the TreeView then it is always a lot faster if you can use the InsertNode method on the TreeView control that takes a index as parameter.

This method mostly has purpose when adding to a parent node that is not yet a part of a TreeView control.

See Also

TreeViewNode Class