Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
XML RSS Feed
 
 
 
 
 
 
 
 
Old Pages
 
Old Index
Site Map
What's New
 
Books
How To
Tips & Tricks
Tutorials
Stories
Performance
Essays
Links
Q & A
New in VB6
Free Stuff
Pictures
 
 
 
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-2003 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated