Author Topic: Combobox behaviour like in VBA  (Read 1754 times)

0 Members and 1 Guest are viewing this topic.

Ricky_76

  • Guest
Combobox behaviour like in VBA
« on: April 21, 2009, 08:29:45 AM »
Hi,

in VBA,
when you type a text (runtime) in the textfield the SelectedIndex value returned is -1,
when you select an item within the items of the combo, then value returned correspond to the item order (base 0) of the item selected

in .net
I can't know if user type new text in the textfield or if the value is selected within the items of the combo.
When you select an item, the SelectedIndex value is Ok, when you start typing text in the thexfield the SelectedIndex remain the previous one.

Some help please!

Thank's a lot
/r