For each <item> in CheckedListBox. <item> returns as Object and not as Control
- by Tivie
Hello there.
I have a CheckedListBox previously populated. I want to loop with a "for each / next" through all items in the CheckedListBox and do a lot of "stuff" with each iteration element of the checkedlistbox.
example code:
For Each item In CheckedListBox1.Items
If item.Checked = True Then
'do stuff like
…