|
-
May 5th, 2012, 09:08 AM
#1
Thread Starter
New Member
Change the parent-child relation in a treeview control at runtime
I want to program a water supply pipeline network in a treeview control. It has five node (junctions). The parent-child relation is based on a parameter (say pressure).
Initially, the node 1 is parent and its child nodes are 2 and 3. The node 3 has child nodes 4 and 5.
At run time the pressure changes. Now, node 3 is parent and its child nodes are 1, 4 and 5. The node 1 has child node 2.
It could be easier to show in a figure, but I donot know the procedure to attach or insert a figure. sorry.
Please advise me to handle such changes in the paren-child nodes relation in the treeview control.
Thanks
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
|