
treeview parent or child ?
Quote:
> I am looping through the nodes on a treeview using treeview.nodes.count. I
> want to see if a node is either / or a parent or a child. I keep getting
> object errors.
A Node has a Parent property, that is Nothing, if the Node is a root node.
A Node has a Children property that counts the child nodes.
A Node has a Child property that references the first child Node.
Regards,
Harald M. Genauck
ABOUT Visual Basic - das Webmagazin
http://www.aboutvb.de