Click here to Skip to main content
15,889,281 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am making a windows application in which interaction is 100% keyboard so the user moves around widgets and options using tab.
When user enters this page, the focus is on textbox, so he can write there and if he tabs, he goes to the combobox which is showing item1 by default. If he presses down arrow, combobox shows item2. The problem here is that with this way the user don't know all the options of the combobox unless he press down until the last option.
What I want is when user enters, the focus is on textbox . BUT then, when he tabs and goes to combobox, I want this combobox to show all options (as when you click with the mouse, that you can see all the options in a list).

What I have tried:

I have been looking for dropdown options and views but couldn't find one that makes that... do you know if there is any option to do that?
Posted
Updated 24-Nov-16 19:11pm

1 solution

You can set the ComboBox.DroppedDown property to true.

Note: It is possible to put this back into the user's hand. The F4 key will drop the list down manually.
 
Share this answer
 
Comments
Roy1209 25-Nov-16 1:22am    
It worked.Was looking for this property .Thanks....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900