Hello,
How can i make ONLY one selection possible from the checkedlistbox at a time? If i have already selected one and if i select another item the previous item should be deselected.
Lux
Printable View
Hello,
How can i make ONLY one selection possible from the checkedlistbox at a time? If i have already selected one and if i select another item the previous item should be deselected.
Lux
Code:Private Sub lst_ItemCheck(ByVal sender As Object, ByVal e _
As System.Windows.Forms.ItemCheckEventArgs) Handles lstSupport.ItemCheck
If e.NewValue = CheckState.Checked Then
For Each i In lst.CheckedIndices
lst.SetItemChecked(i, False)
Next
End If
End Sub