Click here to Skip to main content
16,019,740 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi,
How can we select combobox list value when user types on keyboard.
my combobox list style is drop down.

thanks in advn.
Posted
Comments
Om Prakash Pant 13-Jan-12 5:15am    
please elaborate more and show us the code that you have tried so far
Sergey Alexandrovich Kryukov 13-Jan-12 5:39am    
No platform, type of application, UI library, language... how can you ever hope for an answer?
--SA

1 solution

1. The combobox must have focus. Focus is changed with the TAB key. This is done by the OS.
2. Depending on the combobox, the ARROW keys and other keys are used to navigate the combobox. You probably will want to use the arrow keys. (UP/DOWN). This is also done by the OS.
3. ENTER selects the current index. Again, done by the OS.
4. Most comboboxes work on their own and you create event handlers for them. This is what seems to have you hung up.
 
Share this answer
 

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