Alt key removes focus

5 posts, 0 answers
  1. Michael
    Michael avatar
    4 posts
    Member since:
    Dec 2011

    Posted 12 Jan 2012 Link to this post

    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. 
  2. Boby
    Admin
    Boby avatar
    595 posts

    Posted 17 Jan 2012 Link to this post

    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 >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Evan
    Evan avatar
    1 posts
    Member since:
    Jun 2012

    Posted 19 Jun 2012 Link to this post

    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
  5. Boby
    Admin
    Boby avatar
    595 posts

    Posted 21 Jun 2012 Link to this post

    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 >>

  6. Chints
    Chints avatar
    1 posts
    Member since:
    Sep 2012

    Posted 10 Sep 2012 Link to this post

    i am having same problem...
    either i press left or right alt key




Back to Top
UI for WPF is Visual Studio 2017 Ready