|
-
Jul 13th, 2005, 04:36 PM
#1
Thread Starter
New Member
How do I transfer headings and items from one treeview to another
I have a situation in which I want to move an item and its direct parents and children from one treeview to another.
Treeview1 initially looks like:
Metrics
.Metrics Item1
..Metrics Item1 Sub
.Metrics Item2
and TreeView2 is empty.
The user selects the item "Metrics Item1 Sub" and presses a button which functions to copy to TreeView2 that item and all its direct parents and children and remove from TreeView1 that item.
After the button is pressed, the treeviews look like:
TreeView1:
Metrics
.Metrics Item2
TreeView2:
Metrics
.Metrics Item1
..Metrics I1 text
How do I write the code for the function?
Thanks,
Mike
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
|