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

KeyTipService blocking Alt + Key Code

3 Answers 232 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Gary
Top achievements
Rank 1
Gary asked on 04 Mar 2015, 11:27 PM
We have KeyTipService enabled on our RadRibbonView.  Some of our users want to use Alt + Key Code (example Alt + 132) to insert special characters when typing into a textbox.  The problem is RadRibbonView is trapping the Alt command when used this way.  

Compare to an application like MS Word 2013.  Just hitting Alt and releasing brings up the key hints for navigating the ribbon.  Hitting Alt + 132 enters an "รค".  With RadRibbonView, hitting Alt even if combined with other keys always brings up the hint text and prevents default behavior of the textbox. 

Is there a way to prevent this?

3 Answers, 1 is accepted

Sort by
0
Kiril Vandov
Telerik team
answered on 09 Mar 2015, 05:20 PM
Hello Gary,

Unfortunately this feature is not available with our RadRibbonView. The current implementation of the KeyTips focuses the RadRibbonView to prevent any input while navigating using the KeyTips. You could prevent the focus lost if you set Focusable="false" to the RadRibbonView, however the textbox will still not be able to type the symbol for "Alt + 132" as the KeyUp events are handled and the symbols are evaluated on KeyUp.

Kind regards,
Kiril Vandov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Gary
Top achievements
Rank 1
answered on 10 Mar 2015, 04:34 PM
Shouldn't Telerik's implementation only capture focus and key events if Alt is hit by itself?  For instance, Alt hit and released, then capture key up events to see if matches a keytip.  If Alt + Key is pressed, then ignore and let underlying control handle it.  
0
Kiril Vandov
Telerik team
answered on 11 Mar 2015, 02:44 PM
Hello Gary,

The logic behind the KeyTips is a little more complex than that. When you release the Alt key (which is your case) the KeyTips of the RadRibbonView are shown as LeftAlt is the activation key for the KeyTips. The MS office KeyTips behave a little differently (they show up on KeyDown), we are aware of that difference and have a feature request to allow the RibbonViewKeyTips to be activated on KeyUp.
Also after your report we have further investigate the entire behavior of the MS Word KeyTips and we have found that while the Alt key is pressed and type any key from the NumPad keyboard the KeyTips are canceled and the special symbols are executed.

We will consider this improvements to the KeyTips as they will make the user experience more fluent and MS Office like. That is why I have logged that as a feature request for our RadRibbonView and you could track its progress in our feedback portal.

I hope this information helps.

Kind regards,
Kiril Vandov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
RibbonView and RibbonWindow
Asked by
Gary
Top achievements
Rank 1
Answers by
Kiril Vandov
Telerik team
Gary
Top achievements
Rank 1
Share this question
or