E
Earl
I have a tabstrip with 7 tabs and several of the tabs have combos. The
combos are all bound to listarrays. When I clear the combos, I use the
following code:
cmbContactType.SelectedIndex = -1
cmbContactType.SelectedIndex = -1
cmbContactType.Text = ""
However, I have noticed that AFTER I clear the combo, if I click on the
tabcontrol containing the combo, it again cycles the top item into the combo
text window. Looking at the output, I can see that ANY click event on the
tabcontrol -- regardless of tab -- changes the combo SelectedIndex from -1
to 0.
I'm quite familiar with the bug in the combo in regards to being unable to
clear it. However, I have not noticed this bug till now. What's the best
solution?
combos are all bound to listarrays. When I clear the combos, I use the
following code:
cmbContactType.SelectedIndex = -1
cmbContactType.SelectedIndex = -1
cmbContactType.Text = ""
However, I have noticed that AFTER I clear the combo, if I click on the
tabcontrol containing the combo, it again cycles the top item into the combo
text window. Looking at the output, I can see that ANY click event on the
tabcontrol -- regardless of tab -- changes the combo SelectedIndex from -1
to 0.
I'm quite familiar with the bug in the combo in regards to being unable to
clear it. However, I have not noticed this bug till now. What's the best
solution?