I have some items in a CheckedListBox, I want to disable the CheckBox of first item in it. i.e. I want to disable the first item in the C
CheckedListBox
CheckBox
C
Try Below Code:
Private Sub CheckedListBox1_MouseUp(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles CheckedListBox1.MouseUp If (Condition) Then Me.CheckedListBox1.SelectedIndex = -1 End If End Sub