tags:

views:

2496

answers:

2

I have a checkedlistbox and I want to automatically tick one of the items in it.

The CheckedItems collection doesn't allow you to add things to it.

Any suggestions?

+7  A: 

You need to call SetItemChecked with the relevant item.

The documentation for CheckedListBox.ObjectCollection has an example which checks every other item in a collection.

Jon Skeet
+2  A: 

Here's a nice example.

Stormenet