SelectionChangeCommitted event not raised (combobox)

G

Guest

hi,

I have a comboBox with some items inside.
I am implementing a sort-of auto-complete feature so the selectedIndex of
the combobox is being changed while the user is typing text inside.

The problem is: SelectionChangeCommitted event does not fire when user hits
enter, and the selectedindex goes back to -1

Selecting items from the list works ok.

I can force the selectedIndex to the correct value if I hit enter-esc-enter
combination :=)

Any ideas?

using: VS2003, C#
 

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