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.comwww.prenia.comWeblog: blogs.prenia.com/cathi