CheckedListBox

snufse

Newcomer
Joined
Jan 30, 2004
Messages
10
Location
west palm beach
I have a CheckedListBox where I select/click an item (line) and perform some function. When done I want to reset the CheckedListBox. I use the
CheckedListBox.ClearSelected() but my checkmark does not get removed? Any ideas.
 
u may try to check one item by item item checked.
Dim a, i As Integer
a = check.Items.Count
i = 0

Do While i < a

If check.GetItemChecked(i) Then

check.SetItemChecked(i, False)

End If

i += 1

Loop


hope its help u!
 
Fantastic, it worked !! Thank you ......



bshaen said:
u may try to check one item by item item checked.
Dim a, i As Integer
a = check.Items.Count
i = 0

Do While i < a

If check.GetItemChecked(i) Then

check.SetItemChecked(i, False)

End If

i += 1

Loop


hope its help u!
 
Back
Top