Disable items in a CheckedListBox

B

Bobby

I want to enable/disable individual items in a checkedlistbox. I have a
field in a db that tells me whether the item should be enabled. I am
just not sure how to disable an item in the checkedlistbox

Thanks,

Robert
 
N

Nicholas Paldino [.NET/C# MVP]

Bobby,

I don't believe that you can do this. If you do, you will have to do
some (a lot probably) custom window message handling.

I think a better solution would be to not include these items in the
list.

Hope this helps.
 

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