Add a Shortcut Key to ToolStripMenuItem



Add a shortcut to a ToolStripMenuItem.

'Assembly: System.Windows.Forms.dll

'Namespace: System.Windows.Forms
'Namespace: System.Windows.Forms.Keys

Dim shortcutKey AS Keys = "F6"

'menuItemName is name of the menu
menuItemName.ShortcutKeys = shortcutKey

Share |

 Cant find the page you are looking for?
 Help us to improve by adding the content that you are looking for.
 Leave a feedback
 We look forward to hear your comments and feedback.