TheSwamp

Code Red => .NET => Topic started by: Ricky_76 on April 21, 2009, 08:29:45 AM

Title: Combobox behaviour like in VBA
Post by: Ricky_76 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