Disable Key Tips for some controls in Ribbon Bar

3 posts, 0 answers
  1. Sascha
    Sascha avatar
    2 posts
    Member since:
    Oct 2012

    Posted 07 Dec 2012 Link to this post

    Hi there,

    is it possible to disable the Key Tips for some specified controls in the RadRibbonBar?

    I have placed a RadImageButtonElement and a RadDropDownListElement in the same RadRibbonBarGroup.

    I would like to disable the Key Tip feature only for this both controls. All the other controls should be accessible by the Key Tip.

    I have set the Property -> radRibbonBar1.EnableKeyMap = true; and for the other controls in the RibbionBar I assigned the KeyTip too.

    At the moment the RadImageButtonElement and RadDropDownListElement get a numeric automatic key tip.

    I use  RadControls for WinForms  Q3 2011 SP1.

    If anyone has any ideas I would appreciate

    Thanks in advance

    Sascha

  2. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 12 Dec 2012 Link to this post

    Hello Sasha,  

    Thank you for writing.

    RadRibbonBar provides two events related to Key Tips.

    CancelEventHandler KeyTipShowing;
    and
    CancelEventHandler KeyTipActivating;

    These two events will allow you to prevent a key tip from showing/executing depending on the sender.
    I hope this will help.

    Regards,
    Peter
    the Telerik team
    Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Sascha
    Sascha avatar
    2 posts
    Member since:
    Oct 2012

    Posted 12 Dec 2012 Link to this post

    Hello Peter,

    thank you for the answer.

    With a simple if-query in the  CancelEventHandler I solved the problem and now it works well.

    Regards,
    Sascha

Back to Top