How to add a sub-node of a treeview control

J

JohnDing

Dear all,

I can use 'Set nd=TreeView1.Nodes.add' to add a root node
but I can't(do not know how to do) add a sub-node the
certain node, could someone kindly help?

Thank,
John
 
R

Rob van Gelder

Of the arguments for Nodes.Add:
Relative : is the node for which you are creating a subnode, ie your root
node.
Relationship : tvwChild
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top