by Stephan Grieger - GUI Computing
Here are a couple of nice little routines which give ComboBoxes a little more flare and usability.
The first of the routines will take what a user inputs into the combo box and then tries to find the next best match according to the list.
The second of the two routines takes what the user enters while they are entering the item. It also then displays the rest of the line as it would look when complete. However, if the user then continues to type, the part of the item which was automatically inserted is replaced by the new letter and the search begins again.