|
|
|
|
![]() ![]() |
Feb 24 2006, 07:32 AM
Post
#1
|
|
|
Way Out Of Control - You need a life :) Group: Members Posts: 1,086 Joined: 21-June 05 From: New York Member No.: 6,440 myCENTs:86.41 |
Hi, I have a TreeView created that allows users to add new Nodes into it. How can it be coded so that it allows the user to sort it, or better yet, auto-sort it each time it loads (and whenever a user adds/deletes a node)? Can this be done on a the child nodes under the parent also? For example:
Main/Root Node Parent (sub root node) Child Nodes ...maybe more child nodes So it sorts in the deeper levels accordingly also. Using Visual Basic 6. Thanks. |
|
|
|
Feb 25 2006, 12:54 PM
Post
#2
|
|
|
Advanced Member Group: Members Posts: 196 Joined: 17-June 05 From: Topi,Swabi,NWFP,Pakistan Member No.: 6,301 |
Well , i dont know VB at all ..just want to give you some pointers. First , please add the langauge in title. I thought you were asking a question for JAVA Swing ..but its VB6
second start using VB.net 2005. Thre Express Edition is Free (if you dont have any very specifi requirements) with .NET you will have better support options in forums like this one Last but not least . Check out codeproject.com and MSDN website if you havent already. My guess is that this thing would be piece of cake in VB.net 2005 As for MS and it products are concerned ..if you get a chance ..get rid of them and move on to open source alternatives..like Python/WxWidgets or Ruby. |
|
|
|
Feb 25 2006, 04:47 PM
Post
#3
|
|
|
Way Out Of Control - You need a life :) Group: Members Posts: 1,086 Joined: 21-June 05 From: New York Member No.: 6,440 myCENTs:86.41 |
Oops...forgot to add VB6 in title
Yeah, I tried searching this up online and found some sites in MSDN and codeproject and they gave me good examples too. But they didn't work on my code. I think it might be because I'm using a database file to store the data for each node in the treeview. It might be working differently. I want to switch to .NET also but heard that it's a overhaul in terms of coding. I'm not really good at VB6 itself Took a look at Python before a few years ago when I heard about it but never dove into it. I will see how it works out, but I don't think I'll be converting this VB program to Python since I spent too much time on building it in the first place. Thanks. |
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
|
Lo-Fi Version | Time is now: 2nd December 2008 - 11:59 AM |