How to set a combo box to automatically select an item...
when entering a number or a string in the textbox(on top of the control) of the combo box.
For example:
The combo box item is:
10
20
21
30
45
If a user key in the value 2 it would automatically select the 20 first because it is the first "2" in the list.
I remember setting one of the combo box properties to get it to work but I forgot now. :(
Re: How to set a combo box to automatically select an item...
If you're using VB 2005 (please use the radio buttons provided to specify your IDE/Framework version when creating a thread) then the combo box has several properties dedicated to autocompletion. If you're using an earlier version you would have to either handle the TextChanged event and code the logic yourself or else use a third-party control that supported autocomplete.