Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Combobox auto select

$
0
0

Hi folks,

On my form I have a combobox with dropdownlist set to dropdown. It has AutoCompleteMode set to 'Suggest' and AutoCompleteSource set to ListItems. Basically if I press 'P', all the items that begin with 'P' appear in the drop down list. This is fine.

What I want to do is this: When I begin to type into the combobox, I want whatever item that appears top in the drop down list to be selected.

Is this possible ? Currently, I have to use the up/down arrow keys set the selected item in the drop down menu.


John


jppnn



Viewing all articles
Browse latest Browse all 12583

Latest Images

Trending Articles



Latest Images