i am trying to figure out how to change the check marks in a group of three check boxes
lets say i want to select #1....then i decide i want to select #2 or #3
i want the other check boxes to uncheck when i select a different one...or in otherwords only have one checkbox selected at a time, not all three
here is an example of what i am trying
Private Sub chkPriority_1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles chkPriority_1.KeyDown
If chkPriority_1.Checked = True Then
chkPriority_2.CheckState = chkPriority_2.CheckState.Unchecked
chkPriority_3.CheckState = chkPriority_2.CheckState.Unchecked
End If
End Sub
thanks
any help would be appreciated
lets say i want to select #1....then i decide i want to select #2 or #3
i want the other check boxes to uncheck when i select a different one...or in otherwords only have one checkbox selected at a time, not all three
here is an example of what i am trying
Private Sub chkPriority_1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles chkPriority_1.KeyDown
If chkPriority_1.Checked = True Then
chkPriority_2.CheckState = chkPriority_2.CheckState.Unchecked
chkPriority_3.CheckState = chkPriority_2.CheckState.Unchecked
End If
End Sub
thanks
any help would be appreciated
