Is there any simple way to get the parent of a given node in the Treeview?
Also it looks that child nodes always have the index -1. This is when I do:
Tree.IndexOfNode(Tree.SelectedNode) So, I can't get the parent of a child with a loop as I can't get the index of the child node.
RBS
Also it looks that child nodes always have the index -1. This is when I do:
Tree.IndexOfNode(Tree.SelectedNode) So, I can't get the parent of a child with a loop as I can't get the index of the child node.
RBS