Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter
 
 
 
MSDN Visual Basic Community
 
 
 
 
TitleMake a shortcut key with no menu item in VB .NET
Keywordsshortcut, menu, hidden, VB.NET
CategoriesVB.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.

 
 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated