Very strange combo with tab control behavior -- additional bug?

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top