I'm assuming I'm missing something here, but I seem to be having a
problem in the selectedindexchanged routine when using different
comboboxes. I have two comboboxes and when I change the value in one,
I want the other one to be set to blank. I tried setting the text
property to "" but that does nothing, so then I tried setting the
selectedindex to -1 and that works, but the combobox that I'm actually
changing never gets changed it stays blank too, but the second time I
change the value in the combobox, it actually changes...what's going
on here, am I doing something in the wrong order?
CODE:
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
ComboBox1.SelectedIndexChanged
ComboBox2.SelectedIndex = -1
End Sub
Private Sub ComboBox2_SelectedIndexChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
ComboBox2.SelectedIndexChanged
ComboBox1.SelectedIndex = -1
End Sub