PC Review


Reply
Thread Tools Rate Thread

How to determine which node was checked in treeview control?

 
 
yxq
Guest
Posts: n/a
 
      6th Apr 2004
Hello
There are checkbox in my treeview, i want to know which node checked? in
which event? How to know which level node?

Thanks


 
Reply With Quote
 
 
 
 
EricJ
Guest
Posts: n/a
 
      6th Apr 2004
bit vague

do you mean you need to know when you check a node
or
you have some nodes checked and you need to know w ones are checked
(loop)
for each node in treeview.nodes ' (lvl1)
if node.checked then
...
for each node2 in node.nodes
....

hope it helps a bit

"yxq" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello
> There are checkbox in my treeview, i want to know which node checked? in
> which event? How to know which level node?
>
> Thanks
>
>



 
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
expand treeview node when checkbox checked jez123456 Microsoft C# .NET 1 24th Jun 2008 04:31 PM
Event on checked TreeView node? Brett Romero Microsoft C# .NET 4 11th Aug 2006 03:27 PM
Select childnodes of a checked node on treeview ? =?Utf-8?B?Unlv?= Microsoft ASP .NET 1 30th Dec 2005 02:48 PM
Trying to use a Treeview with checkboxes to get child nodes to be marked checked when parent node is checked. Jack Microsoft VB .NET 2 12th Oct 2005 03:07 AM
How can I determine the node number of a node in my treeview meh Microsoft VB .NET 2 4th Sep 2003 04:58 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:49 AM.