Version

Set Shortcut (Mnemonic) Keys for a Tool

Shortcut and mnemonic keys can be used to access a tool via the keyboard instead of clicking on the tool with the mouse. Shortcut keys will be displayed in the drop down of a PopupMenuTool .

At Design Time

In the Customize editor in the Tools tab select one of your tools and under the SharedProps object there is a property called Shortcut where you can set a shortcut or mnemonic key for that tool.

At Run Time

In Visual Basic:

Private Sub Set_Shortcut_Mnemonic_Keys_for_a_Tool_Load( _
  ByVal sender As System.Object, _
  ByVal e As System.EventArgs) Handles MyBase.Load
	Me.UltraToolbarsManager1.Tools("Bold").SharedProps.Shortcut = Shortcut.F1
End Sub

In C#:

private void Set_Shortcut_Mnemonic_Keys_for_a_Tool_Load(object sender, EventArgs e)
{
	this.ultraToolbarsManager1.Tools["Bold"].SharedProps.Shortcut = Shortcut.F1;
}