How to determine which node was checked in treeview control?

  • Thread starter Thread starter yxq
  • Start date Start date
Y

yxq

Hello
There are checkbox in my treeview, i want to know which node checked? in
which event? How to know which level node?

Thanks
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top