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

Alt key removes focus

4 Answers 218 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 12 Jan 2012, 02:26 PM
Hi,
I use an Itemscontrol with usercontrols which basically consist of a radrichtextbox and a radtoolbar. Pressing the Alt key removes the focus and activates the main window's menu. Makes it impossible to add certain characters to a text which require a keyboard combination of alt+char.

Somebody posted a similar issue in the Silverlight forum but without any solution for my issue. Is there any simple solution? If not I was considering to use the previewkeydown event to disable the standard handling and inserting the characters code wise but internet is not saying much about keycodes for chars using Alt key combinations. 

4 Answers, 1 is accepted

Sort by
0
Boby
Telerik team
answered on 17 Jan 2012, 12:42 PM
Hi Michael,
We will need some more details to investigate your scenario. Are talking about left ALT or right ALT key (AltGr)? Could you give us some examples of such characters and keyboard layout you are using to input them? Are you observing the problematic behavior only when Menu in present in the window?

All the best,
Boby
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Evan
Top achievements
Rank 1
answered on 19 Jun 2012, 05:13 AM
Hi Boby,

We have the exact same problem. We want to use the ALT key to focus on textboxes in some occasions. That works. However Telerik somehow activates another ALT action that activates the main menu where you are able to press a number and access a form on shortcut.

How do we disable this ALT function that will show numbers on the main menu? It causes our textboxes to lose focus.

"Are talking about left ALT or right ALT key (AltGr)?"
Left

"Could you give us some examples of such characters and keyboard layout you are using to input them?"

Say: ALT-A is supposed to activate the ADD button which will open a form and focus on the first textbox.

"Are you observing the problematic behavior only when Menu in present in the window?"
In our case the menu is always present.

Kind regards,
Evan
0
Boby
Telerik team
answered on 21 Jun 2012, 12:54 PM
Hello Evan,
We are not sure that we understand your scenario. Could you open a support ticket and send us attached sample project that reproduces the problem, so that we can further investigate it? Do you have any mnemonics and/or application commands associated with your menu items?

All the best,
Boby
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Chints
Top achievements
Rank 1
answered on 10 Sep 2012, 12:05 PM
i am having same problem...
either i press left or right alt key




Tags
RichTextBox
Asked by
Michael
Top achievements
Rank 1
Answers by
Boby
Telerik team
Evan
Top achievements
Rank 1
Chints
Top achievements
Rank 1
Share this question
or