Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox DropDownStyle
Message
De
16/03/2004 10:08:35
 
 
À
15/03/2004 16:25:38
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00886490
Message ID:
00886676
Vues:
18
Jerry,

There was a thread about this topic, Incremental Search or Auto-Complete (whichever you prefer to call it), several months ago. Cathi posted this link: http://www.codeproject.com/vb/net/autocomplete_combobox.asp
Apparently this isn't intended for the DropDownStyle of DropDownList (I haven't really studied the code), but I'm sure that looking at the example will give you ideas of how to hack it to make it work with a DropDownList type of combo.

~~Bonnie

>I created a WinForm with a ComboBox. I set the DropDownStyle = DropDownList.
>
>When I run my form and tab onto the ComboBox, I can type the first letter of the selection I want in the dropdown list and that item will appear as selected in the dropdown. This is good.
>
>But, how can I type more that 1 character? For example, below are my dropdown values. If I type 'T', Tow is selected in the drop down. But how can I type 'Tr' and get Tree or 'Tru' and get Trunk? I don't want to type the entire item, just the first 1-3 characters.
>
>Drop down value:
>Box
>Cat
>Dog
>Tow
>Tree
>Trout
>Trunk
>
>Thanks,
>
>Jerry
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform