Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want solution for combobox activity when we are using tab for navigating and when we came to combobox than combobox automatically open or dropeddown.

What I have tried:

i tied to use mouse enter event but it doesn't work like i want...
Posted
Updated 12-Apr-19 2:53am

Handle the OnFocus (or whatever the event is called) event for the tab in question, and from that event handler, cause the dropdown to expand.

If I remember correctly, set the combobox's DroppedDown property to true.
 
Share this answer
 
v2
If you are after the drop-down being shown automatically then I would have a read of this

ComboBox.DroppedDown Property (System.Windows.Forms) | Microsoft Docs[^]
 
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