Hacker’s Guide to Visual FoxPro
An irreverent look at how Visual FoxPro really works. Tells you the inside scoop on every command, function, property, event and method of Visual FoxPro.
CREATE MENU
, MODIFY MENU
These two commands open the Menu Designer. They share many of their clauses with other Create/Modify pairs.
CREATE | MODIFY MENU [ MenuName | ? ]
[ WINDOW DefinitionWindow ]
[ IN [ WINDOW ] ContainerWindow | IN SCREEN
| IN MACDESKTOP ]
[ NOWAIT ] [ SAVE ]
See CREATE FORM
for explanations of the various clauses of these commands.
The Menu Designer creates Windows-type menus, using DEFINE MENU
et al. Beginning with VFP 5, it can also be used to create shortcut menus (also known as right-click or context menus).
CREATE MENU AppMenu
Create Form, Define Bar, Define Menu, Define Pad, Define Popup, Set SysMenu