Enable using MenuBar as an alternative for ComboBox
See original GitHub issueIs your feature request related to a problem? Please describe.
I have been exploring using a MenuBar as a dropdown menu. It works like a dropdown style combo box and looks better and gives clearer indication of what the active/new selections will be.
But there is a problem in that the user cannot Tab to the view. I have tried setting the following but it does not work.
CanFocus = true,
TabStop = true
Describe the solution you’d like
Tab to work for MenuBar when TabStop
is set.
Describe alternatives you’ve considered
I can probably still do a workaround by intercepting Tab on the View
before it and adding a callback to manually popping the menu open.
I will probably have to do this anyway so that the user can Tab out of the menu and back to other views.
Issue Analytics
- State:
- Created 6 months ago
- Comments:14
Top Results From Across the Web
How can I include a DropDownList in a menu bar using the ...
My suggestion is to use either a toolbar or a rebar control that simulates a menu bar, rather than the standard menu bar....
Read more >CMFCMenuBar Class
CMFCMenuBar ::EnableHelpCombobox. Enables a Help combo box that is located on the right side of the menu bar. C++
Read more >Binding Dropdown Menus and Combo Boxes - Python Tkinter ...
In this video I'll show you how to bind drop down menus (OptionMenus) and Combo Boxes with tKinter and Python so that you...
Read more >How to Use Menus (The Java™ Tutorials > Creating ...
A popup menu is a menu that is invisible until the user makes a platform-specific mouse action, such as pressing the right mouse...
Read more >Appending New Dropdown Option on MenuBar? (Pycharm ...
I went through the hooks and the toolbar hook worked but it is not ... this code on pycharm append an extra dropdown...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Here’s a tweaked scenario. I realy love this!
This mostly works today as @tznind notes.
What needs to be fixed to make this really be done:
Why isn’t Onfocus true by default?
Yesterday I was goofing with Focus stuff and realized it might make sense for Menubar to participate in tabstops along with the other subviews of a view.