Hi all,
I have a group box with many controls on it. What I am looking to do is when the Part-time combobox equals Yes, the Full-time combobox equals no (or vice versa)
I have tried many different things and I get no errors, yet the values do not change for me.
This is what I currently have. I have tried a for each loop in the groupboxes controls and that doesnt even work for me
Any ideas? Thanks in advancevb Code:
Private Sub cboPartTime_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboPartTime.SelectedIndexChanged With cboFullTime If cboPartTime.SelectedIndex = 0 Then 'Yes .SelectedIndex = 1 'No Else .SelectedIndex = 0 'Yes End If End With End Sub




Reply With Quote