I would like to do something similar to the common interface seen when installing software (the tree structure with check boxes indicating what will/will not be installed). When the root item is selected (& not greyed out), all the child items are selected for installation. When only some of the child items are selected for installation, the check remains in the root level, but it is greyed out to denote that not all items will be installed.
My question: can someone point me in right direction of how to accomplish this. As a simple test, I have been able to open a DB and populate the tree and just print out to Msg box each item that has been checked. Now, how would I pick up on when the check box has been selected in the root to cascade to all the children and vice versa as it is happening. I'm sure I could do SetChecks afer the fact, but I want it on user clicks. Also, how would you grey the check box.
Thanks, any help will be appreciated.
J
My question: can someone point me in right direction of how to accomplish this. As a simple test, I have been able to open a DB and populate the tree and just print out to Msg box each item that has been checked. Now, how would I pick up on when the check box has been selected in the root to cascade to all the children and vice versa as it is happening. I'm sure I could do SetChecks afer the fact, but I want it on user clicks. Also, how would you grey the check box.
Thanks, any help will be appreciated.
J