|
-
Jan 7th, 2003, 09:47 AM
#1
copying double clicked treenode from one treeview to other
You guys got any suggestions on the best way to copy an entire treeview hierarchy to another treeview with only sending selected node from the deepest node in the hierarchy, but all its parent. I have this
Dim copynode As TreeNode
copynode = CType(sender, TreeView).SelectedNode.Parent.Clone()
TreeView2.Nodes.Add(copynode)
but it also sends all the other items from the inner most child. I know I would have to probably manually build the node, but just wanted to see if anyone has any better suggestions.
Assuming what I wrote made sense.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|