Jump to content
Sign in to follow this  
blindwig

3-state check boxes in listview/treeview

Recommended Posts

blindwig

Is it possible to have 3-state check boxes in a treeview or a listview control?

Share this post


Link to post
Share on other sites
buzz44

Do you mean checked, unchecked and disabled?


qq

Share this post


Link to post
Share on other sites
john925

I'm also interested in this. I'd like something similar to backup software where a checked item means that all sub-items are checked, an unchecked item means that all sub-items are unchecked, and a greyed-out-but-checked item means that some but not all sub-items are checked.

john

Share this post


Link to post
Share on other sites
blindwig

I'm also interested in this.  I'd like something similar to backup software where a checked item means that all sub-items are checked, an unchecked item means that all sub-items are unchecked, and a greyed-out-but-checked item means that some but not all sub-items are checked.

john

<{POST_SNAPBACK}>

Yes, that's what I mean. I have a program that lists the relationship between item A and item B. If A affects B posatively, th check is set. If negatively, the check is cleared. If A has no effect on B, then the check is grey. When I had a known number of items, I did this with regular check boxes, using 3-state checks. But now that I have an runtime-determined number of options, I need a treeview or listview to easily maintain my check boxes. But I can't get the check boxes to go to a 3-state mode.

Share this post


Link to post
Share on other sites
buzz44

Maybe ask gafrost if this can be done.


qq

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.