C
Claudio Di Flumeri
Hi all, Iive found this bug int the VB combobox and I'd like to know if
there is a way to solve it...
Put a combobox in a form, and fill it with these 3 items:
- athens
- berlin
- chicago
then launch the program and enter in the form containing the combo. Click on
the arrow near the combo, so the dropdown list under the combo appears and
the 3 items are showed. Now, write the letter 'a' in the combo and then
click somewhere on the form WITHOUT selecting an item of the combobox. You
will see that the dropdownlist disappears and the text 'athens' is showed
and selected in the combo. So is the first item of the combo selected? No!
If you check the SelectedIndex property, the value is still -1.
Resuming, it seems there are problems when you write something in the combo
while the dropdown list is showed...
Is it a known bug? Is there a workaround?
Thanks
there is a way to solve it...
Put a combobox in a form, and fill it with these 3 items:
- athens
- berlin
- chicago
then launch the program and enter in the form containing the combo. Click on
the arrow near the combo, so the dropdown list under the combo appears and
the 3 items are showed. Now, write the letter 'a' in the combo and then
click somewhere on the form WITHOUT selecting an item of the combobox. You
will see that the dropdownlist disappears and the text 'athens' is showed
and selected in the combo. So is the first item of the combo selected? No!
If you check the SelectedIndex property, the value is still -1.
Resuming, it seems there are problems when you write something in the combo
while the dropdown list is showed...
Is it a known bug? Is there a workaround?
Thanks