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

Disable Key Tips for some controls in Ribbon Bar

2 Answers 128 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Sascha
Top achievements
Rank 1
Sascha asked on 07 Dec 2012, 11:34 AM

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 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 12 Dec 2012, 01:46 PM
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.
0
Sascha
Top achievements
Rank 1
answered on 12 Dec 2012, 02:19 PM
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

Tags
RibbonBar
Asked by
Sascha
Top achievements
Rank 1
Answers by
Peter
Telerik team
Sascha
Top achievements
Rank 1
Share this question
or