Hello everybody, could anyone paste me a snippet, or part of the code
for working with trees, it's a control I need to figure out how to use
it. Thanks
You create and add nodes and each node can have nodes.
Then you use recursion to traverse it.
HTH,
Shane
"Gerardo" <et******@arnet.com.ar> wrote in message
news:Om*************@TK2MSFTNGP10.phx.gbl...
Hello everybody, could anyone paste me a snippet, or part of the code for working with trees, it's a control I need to figure out how to use it. Thanks
a little code...
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles MyBase.Load
Dim n As New TreeNode("Shane")
tvw.Nodes.Add(n)
n.Nodes.Add("Bob")
End Sub
"Gerardo" <et******@arnet.com.ar> wrote in message
news:Om*************@TK2MSFTNGP10.phx.gbl...
Hello everybody, could anyone paste me a snippet, or part of the code for working with trees, it's a control I need to figure out how to use it. Thanks
No prob.
It's a cool control... just takes a little different coding.
"Gerardo" <et******@arnet.com.ar> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
SStory wrote:
a little code... Private Sub Form1_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim n As New TreeNode("Shane")
tvw.Nodes.Add(n)
n.Nodes.Add("Bob")
End Sub
Hey man thank you a lot, that's what I was looking for.
No prob.
It's a cool control... just takes a little different coding.
"Gerardo" <et******@arnet.com.ar> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
SStory wrote:
a little code... Private Sub Form1_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim n As New TreeNode("Shane")
tvw.Nodes.Add(n)
n.Nodes.Add("Bob")
End Sub
Hey man thank you a lot, that's what I was looking for.
Reposted as the original is reported as deleted from the server.
re: MSComCtl Listview control cashes after installing VB6/VS6 SP6
I have been advised that this problem has been reproduced...
First, I'm sorry for my english.
Second, I've a little question: is some tree stucture like collections
ArrayList or Queue to hold tree of same objects in .NET? Maybe I can use
TreeView to that. I...
Is it possible to use the new ASP.NET2 Tree control by only downloading and
installing the new .NETFRAMEWORK v2? Or do you have to install visual studio
and the lastest version of IIS?
Anyone...
Hello Tom and all,
I am also doing almost similar kind of task. In my tree View, I am
using 2 tree view from different access table which are almost similar.
I want to drag and drop childs from...
I'm using krypton toolkit which has allowed me to make a cool looking
form. However, when I set my textbox to disabled it is 'greyed' out.
The grey colour isn't in keeping with the office 2007...
How do I put my tree view control inside a content place holder? I
drag it there but it doesn't seem to appear in the correct spot.
P.S - I have a master page with a content section representing...
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...