Question

For Each i As ListViewItem In Me.lvSent.Items

            If i.Checked = True Then
                i.Selected = True
            Else
                i.Selected = False

            End If
        Next

Using that code I can select items in my listview but when I unchecked one selected item, It unchecked all selected items.

How can I uncheck other selected item without unchecking everything

thanks

Pas de solution correcte

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top