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

UseMnemonic on DropDownButton

1 Answer 100 Views
CommandBar
This is a migrated thread and some comments may be shown as answers.
Ga Que
Top achievements
Rank 1
Ga Que asked on 05 Sep 2012, 11:50 AM
Hi Telerik team,

I added a CommandBarDropDownButton to a CommandBar. Then I set properties of the button like following:
DrawText = True
Text = &New
UseMnemonic = True
However, the N character was not underlined and nothing happened when Alt + N pressed. How to solve this?

Regards

1 Answer, 1 is accepted

Sort by
0
Ivan Todorov
Telerik team
answered on 10 Sep 2012, 09:27 AM
Hello Ga Que,

Thank you for contacting us.

It appears that this is an issue in the internal mnemonic processing. I have logged it in our Public Issue Tracking System and we will address it in a future release. Here you can find the PITS item: http://www.telerik.com/support/pits.aspx#/public/winforms/12589.

For the time being, you can workaround this by assigning a shortcut to the drop-down button:
this.commandBarDropDownButton1.ShowKeyboardCues = true;
this.commandBarDropDownButton1.UseMnemonic = true;
this.commandBarDropDownButton1.Text = "Te&xt";
this.commandBarDropDownButton1.Shortcuts.Add(new RadShortcut(Keys.Alt, Keys.X));

Your Telerik points have been updated for bringing this to our attention.

Do not hesitate to contact us if you have any further questions.

Regards,
Ivan Todorov
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Tags
CommandBar
Asked by
Ga Que
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
Share this question
or