Unchecking all items on a checkedListBox

  • Thread starter Thread starter Guest
  • Start date Start date
* "=?Utf-8?B?S2Vubnk=?= said:
is there a way to set all items unchecked on a Checklistbox?

\\\
Dim i As Integer
For i = 0 To Me.CheckedListBox1.CheckedIndices.Count - 1
Me.CheckedListBox1.SetItemChecked(Me.CheckedListBox1.CheckedIndices(0), False)
Next i
///
 
* "=?Utf-8?B?S2Vubnk=?= said:
I was expecting a CheckedBoxList.method().... Its a shame.

I didn't find one too, I was looking for 'ClearChecked', but this method
doesn't exist ;-).
 
Back
Top