Implement applicationwide hotkey

2 posts, 0 answers
  1. Walther Siksma
    Walther Siksma avatar
    12 posts
    Member since:
    May 2006

    Posted 03 Jun 2009 Link to this post

    I would like to run a applicationwide hotkey which enables the user to execute a specific command (eg maximizing all mdi forms) pressing alt-enter

    When using this code it works:

    ChordModifier1.AltModifier =

    True

     

     

    ChordModifier1.ControlModifier =

    False  

     

     

    ChordModifier1.ShiftModifier =

    False  

     

     

    Chord1.ChordModifier = ChordModifier1

    Chord1.Keys =

    "Alt+Y"  

     

     

    InputBinding1.Chord = Chord1 

    ClickCommand1.Name = "ActionCommand"

     

    ClickCommand1.OwnerType =

    GetType(Telerik.WinControls.RadItem)  

     

     

    InputBinding1.Command = ClickCommand1  

    InputBinding1.CommandContext =

    Me.rbeWindowsMaximize

    However when I use

    Chord1.Keys = "Alt+Enter"

    it does not work. How can I get Alt-Enter to work?
    thnx
    Walther

     

     

     

     

     

  2. Deyan
    Admin
    Deyan avatar
    2038 posts

    Posted 08 Jun 2009 Link to this post

    Hi Walther,

    Thanks for writing. The combination "Alt + Enter" is not allowed by design and it will not work. However, we can revise the implementation of the filter and consider changing this but I cannot give you an exact time-frame for this. Do not hesitate to write back if you have further questions.

    Greetings,
    Deyan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top