|
|
Title | Make a shortcut key with no menu item in VB .NET |
Keywords | shortcut, menu, hidden, VB.NET |
Categories | VB.NET, Controls |
|
|
In VB .NET, a menu item's shortcut key works even if the menu item has Visible = False. It also works if its parent menu (or some other ancestor menu) has Visible = False.
This example has a Tools menu that contains two items with shortcuts F4 and F5. The Tools menu has Visible = False so both of these commands are hidden.
|
|
|
|
|
|