470,588 Members | 2,141 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,588 developers. It's quick & easy.

Disable items in a CheckedListBox

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

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 15 '05 #1
1 9382
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.
--
- Nicholas Paldino [.NET/C# MVP]
- ni**************@exisconsulting.com

"Bobby" <bo***@countrymedic.com> wrote in message
news:OZ**************@TK2MSFTNGP12.phx.gbl...
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

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by sql | last post: by
5 posts views Thread by Bob Bedford | last post: by
8 posts views Thread by ameen.abdullah | last post: by
8 posts views Thread by Steven Garrad | last post: by
1 post views Thread by Bob | last post: by
5 posts views Thread by Kevinp | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.