how do i add children to nodes in a tree view
Printable View
how do i add children to nodes in a tree view
From MSDN: Adding Nested Nodes to a TreeView Control
how do i get the index of the node child?
VB Code:
Private Sub Treeview1_NodeClick(ByVal Node As MSComctlLib.Node) Msgbox Node.Index End Sub
off the node CHILD
i mean the index of the children off the parent node
If you click the parent, you won't see a message box. If you click the node, you will see the index displayed. I tested that on one of the treeviews in one of my projects.
yes the parent counts