This is a migrated thread and some comments may be shown as answers.

AccessText conflicts with input bindings containing Alt as a modifier

1 Answer 44 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 03 May 2019, 05:38 AM

I did some searching around but couldn't find anything about this, and I surprised it hasn't come up. I have several hotkeys using input bindings, which include "Alt" modifiers. They input bindings do work and run the command they are supposed to, but the access keys also come up. Is there a way I can prevent the ribbon from showing the access text when I also have an input binding which handles it?

In Excel, for example, you can press Alt+ to do auto sum, and it doesn't show the access text, so it's not like this is how the ribbons are supposed to work.

1 Answer, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 07 May 2019, 10:20 AM
Hello Steve,

Speaking generally, the RadRibbonView key tips are shown either on PreviewKeyDown, KeyDown or KeyUp  depending on the ActivationMode of the KeyTipService. Since the KeyTipService does not have any knowledge of the InputBindings that are declared, I can suggest implementing some logic that handles the PreviewKeyUp event, when a command bound to an input binding is executed. 

I am attaching a sample project demonstrating this approach for your reference. Please, check it out and let me know, if you find it helpful.

I am looking forward to your reply.

Regards,
Vladimir Stoyanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
RibbonView and RibbonWindow
Asked by
Steve
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Share this question
or