IndexOfNode
Previous  Next

Gets the index of a node in the TreeView.
Returns -1 if the node does not exist.
Syntax: IndexOfNode (treeNode As Node) As Int 32

Example:
if tv.IndexOfNode (node1.Value) = -1 then ...