visualbasic
asked on
Moving a node up one place on a treeview
How do you move a node up or down one place on a treeview in vb.net
ASKER
Hi
if you move B down then It should swap with E and if you move G up it should swap with F only.
Cheers
if you move B down then It should swap with E and if you move G up it should swap with F only.
Cheers
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Do you want the node to stay on the same level or can it change depth? Should it only move up/down swapping with the next node at the same depth?
A
+-B
| +-C
| +-D
+-E
| +-F
| +-G
+-H
+-I
+-J
In the tree above, if you move B down, should it swap with C or should it swap with E?
Should D be able to move down? or should it swap with E or F?
~IM