Disabling individual items in the CheckedListBox?

B

Brian Mitchell

Is it possible to gray out individual items in the CheckedListBox? I have an
option at the top of the list that simply says 'All', and when the user
clicks that item I want the rest of the items in the box to become disabled.



Thanks!!
 
C

Cor Ligthert

Brian,

I think that when I had your problem, I would create an array of checkboxes
inside a groupbox.

I hope that is a solution for you

Cor
 
H

Herfried K. Wagner [MVP]

Brian Mitchell said:
Is it possible to gray out individual items in the CheckedListBox? I have
an option at the top of the list that simply says 'All', and when the user
clicks that item I want the rest of the items in the box to become
disabled.

That's not supported out of the box. However, you can reset an item's
checked state when it is changed.
 

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