Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SHOW MENU Command

Visual Studio .NET 2003

Displays one or more user-defined menu bars without activating them.

SHOW MENU MenuBarName1 [, MenuBarName2 ...] | ALL   [PAD MenuTitleName]
   [SAVE]

Parameters

MenuBarName1 [, MenuBarName2 ...]
Specifies the name of one or more menu bars to display.
ALL
Displays all currently defined menu bars.
PAD MenuTitleName
Specifies a menu title to be highlighted on a menu bar.
SAVE
Retains an image of the specified menu bars without activating them. You can clear the menu bar images with CLEAR.

Remarks

The menu bars are displayed but can't be used. Before they can be displayed, you must first create the menu bars with DEFINE MENU.

Example

CLEAR
DEFINE MENU mnuExample BAR AT LINE 2
DEFINE PAD padConv OF mnuExample PROMPT '\<Conversions' COLOR SCHEME 3 ;
   KEY ALT+C, ''
DEFINE PAD padCard OF mnuExample PROMPT 'Card \<Info' COLOR SCHEME 3 ;
   KEY ALT+I, ''
SHOW MENU mnuExample

See Also

ACTIVATE MENU | CREATE MENU | DEFINE MENU

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.