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?
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?
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.