I have a combobox with some values loaded from a database. I want to use a
barcode reader to select a value in the combobox. But as soon as it is
selected I want to fire an event. What event would be the most appropriate?
When you set the combobox to point to a different item, it will fire the
SelectedIndexChanged event. Or were you looking for something else?

Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
>I have a combobox with some values loaded from a database. I want to use a
> barcode reader to select a value in the combobox. But as soon as it is
> selected I want to fire an event. What event would be the most
> appropriate?
Dave - 14 Aug 2006 18:05 GMT
But what happens when more than 1 of the same are scanned consecutively?
There would be no SelectedIndexChanged event firing.

Signature
L. A. Jones
> When you set the combobox to point to a different item, it will fire the
> SelectedIndexChanged event. Or were you looking for something else?
[quoted text clipped - 3 lines]
> > selected I want to fire an event. What event would be the most
> > appropriate?