Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Menu, Application Menu, Context Menu > Menu item shortcuts

Answered Menu item shortcuts

Feed from this thread
  • han avatar

    Posted on Jul 4, 2008 (permalink)

     Hi. I hope, i can explain my problem with Radmenu. When i was add an item with "&" (Accelerator) for character shortcut, underline is everytime showing. For example; When i typed to menu item "&File" it's showing "File" but i wanna see that only, if i press to "Alt" key from keyboard. Other times i wanna see like normal "File"...

     And then, how can i add function keys for shortcut? I mean i wanna use "F1","F5", etc ...

     Is there anyway to do this ? Thanks for help ...

    Reply

  • Answer Jack Jack admin's avatar

    Posted on Jul 7, 2008 (permalink)

    Hello Han,

    Thank you for your questions.

    Currently RadMenu doesn't support this feature. We will consider implementing it in a future version.

    You should add a new CommandBinding to your menu item and associate the ActionCommand with this binding. This can be done at design-time, through the properties panel and the CommandBinding property of the menu item. Additionally you can set a hint text through the HintText property.

    You may also find the following topic helpful: http://www.telerik.com/help/winforms/architecture_handlinguserinputcommandbindings.html

    Please let me know if you need further assistance.

    All the best,
    Jack
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

    Reply

  • Posted on Sep 24, 2008 (permalink)

    I believe the current standard is not to show the Underline until the Alt key is pressed.  Has any progress been made on changing the behavior?

    Thanks,
    Mark

    Reply

  • Jack Jack admin's avatar

    Posted on Sep 25, 2008 (permalink)

    Hi Mark,

    Thank you for contacting us.

    You are correct, this is the modern behavior for underlining the hot keys used in Windows Vista. Currently RadMenu supports only the classic behavior, when the underlining is always visible.

    We have plans to support the new behavior, however I can't give you exact time line when it will be implemented. We will be happy to raise the priority of this feature if we see more interest in it.

    Do not hesitate to contact me if you have other questions.

    Thank you
    All the best,
    Jack
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

    Reply

  • David Simmonds avatar

    Posted on May 5, 2011 (permalink)

    I am using 2011.1. CommandBindings is a property available from code but it does not show in the property grid. Why not?

    Reply

  • Stefan Stefan admin's avatar

    Posted on May 10, 2011 (permalink)

    Hi David,

    Thank you for writing.

    CommandBindings is an obsolete implementation of our shortcuts mechanism since we introduced RadShortcut. Please refer to this help section, which demonstrates how to take advantage of the new functionality.

    Should you have any other questions, do not hesitate to contact us.
     
    Regards,
    Stefan
    the Telerik team
    Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.

    Reply

  • Eric avatar

    Posted on Sep 16, 2011 (permalink)

    For anybody having problems getting the F keys to work (F5, etc) please note you have to specify a 0 with your desired F-key as follows:

    menuSave.Shortcuts.Add(New RadShortcut(0, Keys.F12))


    This bug report tipped me off:
    http://www.telerik.com/support/pits.aspx#/public/winforms/2592

    Reply

  • Stefan Stefan admin's avatar

    Posted on Sep 22, 2011 (permalink)

    Hi Eric,

    Thank you for writing.

    I just want to mention that 0 in this scenario equals Keys.None. So you can also use:
    menuSave.Shortcuts.Add(New RadShortcut(Keys.None, Keys.F12))

    In regards to the PITS issue, I have modified its text to make it more understandable.
     
    Regards,
    Stefan
    the Telerik team

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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Menu, Application Menu, Context Menu > Menu item shortcuts
Related resources for "Menu item shortcuts"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]