Aracılığıyla paylaş


SHOW MENU Command

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 cannot 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

Reference

ACTIVATE MENU Command

CREATE MENU Command

DEFINE MENU Command

Other Resources

Commands (Visual FoxPro)

Language Reference (Visual FoxPro)