VB.NET: how to require CheckedListBox to have at least one item selected in WinForms

Posted by Craig Johnston on Stack Overflow See other posts from Stack Overflow or by Craig Johnston
Published on 2010-05-05T12:35:44Z Indexed on 2010/05/06 2:38 UTC
Read the original article Hit count: 452

With the CheckListBox in VB.NET in VS2005, how would you make it compulsory that at least one item is selected?

Can you select one of the items at design time to make it the default?

EDIT: How can I make it so the last item the user tries to uncheck is the one that stays checked? So it's like the user tries to uncheck the only checked item but can't because it checks back straightaway.

© Stack Overflow or respective owner

Related posts about vb.net

Related posts about checklist