Question

Avoid the closing of Menu in the ToolStripCombobox in the Windows application. when i select the items of the combo by using the UP/Down arrow keys the dropdown menu is closed automatically whenever the selection changed. How to avoid that auto closing?

No correct solution

OTHER TIPS

I cannot reproduce this.

I created a form, added a ToolStrip control to it with some standard items, and then added a ToolStripComboBox to the end. Finally, I added a few items to the combo box for testing purposes.

When I run the application, and toggle the selected item in the combo box using the up/down arrow keys, the combo box does not close automatically. I can move the selection up and down the items in the combo box without ever triggering it to close until I press the Enter key.

What are we doing differently? Please update your question to explain the steps necessary to reproduce the behavior that you describe.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top