Parent-Child Node Check Box Interation in Tree-view

  • Thread starter Thread starter Bob
  • Start date Start date
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
 
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
 
Back
Top