Parent-Child Node Check Box Interation in Tree-view

B

Bob

Hi,
I would to have a tree view control with check boxes in which the
parent and child nodes interacts, in the way that you normally see
this occuring. Checking the parent node automatically checks all its
children node. Conversely, if one of the child nodes is unchecked,
the parent node unchecks. Is there a property of the treeview that
will automatically do this for me or do I need to roll my own?

Thanks,
Bob
 
L

leon.friesema

Bob said:
Hi,
I would to have a tree view control with check boxes in which the
parent and child nodes interacts, in the way that you normally see
this occuring. Checking the parent node automatically checks all its
children node. Conversely, if one of the child nodes is unchecked,
the parent node unchecks. Is there a property of the treeview that
will automatically do this for me or do I need to roll my own?
Thanks,
Bob
<hr>

There isn't such a property within the TreeView, so you'll have to write your own loop for this

Leon
 

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

Top