Board index » Visual Studio » still fighting with VB6 now Checkboxes in a TreeView Control???
|
DimasPerez
|
still fighting with VB6 now Checkboxes in a TreeView Control???
Visual Studio294
Hi I'm still on VB6. What I'm trying to implement is similar functionality as the tree view used (for example) in Microsoft Backup (from Win98). I have it working good with checkboxes, icons for open and closed dir's ect. Now all I want to do (and I'd be soo happy...!), is to be able to dim the checkboxes higher up in the tree when one lower down is checked (like Backup does). eg. Check a box and all boxes below it are checked, and all boxes upwards towards the root in the chain become 'dimly checked' showing partial selection of those particular nodes. I can't find any means of isolating one node in the tree and causing the 'checks' to be dimmed or change color. Properties provided such as ForeColor, Bold ect. do not act on the boxes. Any body have any ideas?? I'm not worried about the logic for the tree, only getting hold of a reference to the Node object's checkbox and changing its color. I realize it could be complicated, so just send me in the right direction, assuming of course it's even possible. Hate to have to start building a tree from scratch just to get the ability to individualy dim a checkbox. David Otte - |
