views:

488

answers:

0

In .Net 2.0, the WinForms ListBox and ComboBox controls allow you to search through the list by pressing the first letter of the list item on the keyboard. Subsequence presses of that key will cycle through the list items starting with that letter.

A browser like FireFox on the other hand lets you "typeahead" search for items in a listbox or combobox. Ie, you select the listbox/combo and quickly type "New" and the first item in the box beginning with the letters "new" will be selected.

What is the best/easiest way of adding this sort of functionality to a .net 2.0 WinForms listbox or combobox control?