Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00679791
Message ID:
00679807
Vues:
24
Doyou have to use the Enter key? Can you use the Spacebar key instead? The Enter key is used to accept entry of the inputted text for the combobox. That is why is drops down then collapses again. If you use the Spacebar instead or other keys you will get the expected behavior.

>hello everyone. is there any way to keep a combo box in drop down mode. when i use the code
>
>Me.cboComboToFill.DroppedDown = True
>
>the combo box goes into drop down mode but immediately returns to its original state. I basically run the code above when the combo box has focus and the enter key is pressed. thanks for the help.
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform