PC Review


Reply
Thread Tools Rate Thread

how i can Make TreeView in VB.NET?

 
 
Tark Siala
Guest
Posts: n/a
 
      8th Dec 2003
hi
in vb6 i can make TreeView by adding node , and choose Key of this Node
to select Parent Node.
but in VB.NET i can't do that

any one tell me the right Method to Make TreeView in VB.NET ???

thanx
------------------------------------------------
Best Regards From Tark


 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      8th Dec 2003
* "Tark Siala" <(E-Mail Removed)> scripsit:
> in vb6 i can make TreeView by adding node , and choose Key of this Node
> to select Parent Node.
> but in VB.NET i can't do that


Keys have gone. You will have to use a hashtable (for example) to store
(key, node) pairs.

Basic sample for using the TreeView control:

<http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemwindowsformstreeviewclasstopic.asp>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
make TreeView stay at top jp2msft Microsoft C# .NET 3 17th Sep 2008 07:04 PM
TreeView text - possible to make it bold? Xenomorph Microsoft VB .NET 5 10th Aug 2007 02:47 AM
Make treeview like datagrid =?Utf-8?B?bGFuZW0=?= Microsoft ASP .NET 5 28th Nov 2005 08:38 PM
How can I make the treeview like Microsoft's Newsgroup? =?Utf-8?B?Y2xhcmUgaHNpYW8=?= Microsoft ASP .NET 1 8th Mar 2004 10:18 AM
make a treeview from database Armin Zingler Microsoft VB .NET 7 30th Dec 2003 03:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:52 PM.