views:

392

answers:

2

Say I have a form on which a number of buttons exist. Everything works as it should when the buttons are clicked. How do I go about assigning keyboard shortcuts to my buttons so that Alt+A runs the action of Button A, Alt+B runs the action of button B etc.

seems like this would be trivial to do but I've not been able to see where I can set this.

+1  A: 

When creating the button use the ampersand before the letter you want to Alt+? in the label property.

Examples:

&File ---> File

&Edit ---> Edit

F&orge --> Forge

E&nough -> Enough

NickSentowski
Thanks Nick. That was so simple :-)
Istari
Just realized my underlines didn't show up. I thought HTML worked here?
NickSentowski
+1  A: 
Mark3308