chkboxlist

  • Thread starter Thread starter ucasesoftware
  • Start date Start date
U

ucasesoftware

I don't want more than 2 items checked but i don't find event where i
can stop the 3rd click

i do :
If chkBureaux.CheckedItems.Count > 2 Then

........ but where and what ?
 
Are you talking about the CheckedListBox? If so, did you check the ItemCheck
event?

I don't want more than 2 items checked but i don't find event where i
can stop the 3rd click

i do :
If chkBureaux.CheckedItems.Count > 2 Then

........ but where and what ?
 
and with For x = 0 To chkBureaux.CheckedItems.Count - 1

where can i have access to value and displaymember ?
 
chkBureaux.CheckedItems(x) will give you the display text of the checked
item x.

and with For x = 0 To chkBureaux.CheckedItems.Count - 1

where can i have access to value and displaymember ?
 

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

Back
Top