|
-
Aug 16th, 2001, 11:21 PM
#1
Thread Starter
Stuck in the 80s
TreeView Node Help
I'm adding a parent node to a treeview and then adding others, but I want to make sure that the first parent node added will stay last in the tree. How can I accomplish this?
-
Aug 16th, 2001, 11:23 PM
#2
Fanatic Member
use the index property on the parent node
Remember that a treeview has a root node as well
make sure you are not setting the first parent as the root
-
Aug 16th, 2001, 11:56 PM
#3
Thread Starter
Stuck in the 80s
-
Aug 17th, 2001, 12:12 AM
#4
Addicted Member
Just add that node last with the root as its parent. Add the other nodes you want first.
-
Aug 17th, 2001, 12:39 AM
#5
Thread Starter
Stuck in the 80s
Dude, I need that node to be added first.
-
Aug 17th, 2001, 12:53 AM
#6
I think you'd have to save the node and then keep adding and deleting it to keep it last. Seems like there should be an easier way though. Maybe you can do somekind of sort and make sure it stays last that way.
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
|