TreeView Xojo plugin

TreeView.RootNodes Method

Returns a node at a root level from a given index that is relative to the parent node.

RootNodes(
   index as Integer) as TreeViewNode

Parameters

index
The index of the node (relative to the parent node which is invisible root node in this case).

Returns

TreeViewNode
Returns the requested node or nil if there was no node at the given index.

Remarks

(In this case since this is at root level the parent node is a invisible node)

Do not mix the concept of this index with the screen index.

See Also

TreeView Control