We are currently trying to certify our product for Section 508 compliance.
This requires that all features can be accessed via the keyboard alone.
We currently have a ComboBoxTool on one of our toolbars - but NOT on a menu.
I can use Alt to navigate to/through the menus but I do not see any way to get the focus to a toolbar so that I can navigate to the ComboBox tool and use F4 to drop it down.
I can add it to a menu, but I dont want to do that if I can avoid it.Then I can navigate to it using Alt followed by the arrow keys. Once I'm at the correct menu item Enter locks focus onto the ComboBox so that Up/Down arrows will scroll through the list entries, or F4 will drop down the list.
Is there a way to get the focus to a ComboBoxTool on a toolbar?
(I tried the way Microsoft does it in Office - it does not work - strange since you seem to have duplicated everything else from the Office customizable toolbars.j)
ThanksMike
Hello Mike,
I think you want to call
If ComboBoxTool.CanActivate Then ComboBoxTool.IsInEditMode = True
See the sample for IsInEditMode for more info.
NB: You will need to do this against the instance of the tool, i.e. UltraToolbarsManager.Toolbars("TOOLBAR_NAME").Tools("ComboBoxTool"), rather than just UltraToolbarsManager.Tools("ComboBoxTools").
The problem is getting to the control in the first place.
This control is on a Toolbar.
The question is how does a user drop down this list when it is a tool on the Toolbar.I dont see any way to get to ANY tool on the toolbar using ONLY the keyboard.
Mike
Hi,
I have attached a sample in whick on a toolbar I have 2 button and 2 combobox tools. In this sample using Alt or F10 will navigate you to the toolbar, then though the Tab key you can navigate to the desired combo (in this sample the second one) and drop it down with F4. If I am missing something from your scenario, please let me know so I can research this further.
Regards,
Stefaniya
Yes. I have a window that has a toolbar but no menus, and on that window I can navigate to the toolbar and drop down the combo boxes as you say.
My problem is with my main MDI window which has both Menus and Toolbars.
Alt will take me to the Menus ... but I have not found a way to get from the menus to any of the toolbars. (Note that F10 is assigned as a shortcut to one of my menus)
I found the problem.
In addition to menus and toolbars I also have a DockManager on the main MDI window.By default this intercepts Ctrl+Tab to display its Navigator window.When I set DockMgr.NavigatorSettings.Enabled=False I am able to use Alt to move to the menus and then Ctrl+Tab to move to the Toolbars.After that everything works fine.
I am glad you found resolution.
Let me know if I can help you with something else.