System Menu Names

See Also

The following tables list the internal names and user interface names for the Visual FoxPro system menu bar, menu titles, menus, and menu items. With these names you can use the Visual FoxPro system menu bar to create a menu system for your own application.

The SYS(2013) function returns a space-delimited string containing these names. You can also create a quick menu using the Menu Designer to see the internal system menu names.

For more information on the system menu bar, see Chapter 11, Designing Menus and Toolbars, in the Programmer's Guide.

System Menu Names in Visual FoxPro

The internal name for the system menu bar itself in Visual FoxPro is _MSYSMENU.

System Menus

Menu titles Internal name
File _MSM_FILE
Edit _MSM_EDIT
Data Session _MSM_VIEW
Format _MSM_TEXT
Tools _MSM_TOOLS
Program _MSM_PROG
Window _MSM_WINDO
Help _MSM_SYSTM

File Menu

Menu and items Internal name
File menu _MFILE
New... _MFI_NEW
Open... _MFI_OPEN
Close _MFI_CLOSE
Close All _MFI_CLALL
1st Separator _MFI_SP100
Save _MFI_SAVE
Save As... _MFI_SAVAS
Save As HTML... _MFI_SAVASHTML
Revert _MFI_REVRT
2nd Separator _MFI_SP200
Import _MFI_IMPORT
Export _MFI_EXPORT
3rd Separator _MFI_SP300
Page Setup... _MFI_PGSET
Print Preview _MFI_PREVU
Print... _MFI_SYSPRINT
Send _MFI_SEND
4th Separator _MFI_SP400
Exit _MFI_QUIT

Edit Menu - Visual FoxPro

Menu and items Internal name
Edit menu _MEDIT
Undo _MED_UNDO
Redo _MED_REDO
1st Separator _MED_SP100
Cut _MED_CUT
Copy _MED_COPY
Paste _MED_PASTE
Paste Special _MED_PSTLK
Clear _MED_CLEAR
2nd Separator _MED_SP200
Select All _MED_SLCTA
3rd Separator _MED_SP300
Find... _MED_FIND
Find Again _MED_FINDA
Replace... _MED_REPL
Go To Line... _MED_GOTO
4th Separator _MED_SP400
Insert Object... _MED_INSOB
Object... _MED_OBJ
Links... _MED_LINK
Convert to Static _MED_CVTST
5th Separator _MED_SP500
Properties _MED_PREF

View Menu

Menu and items Internal name
View menu _MVIEW
Toolbars... _MVI_TOOLB

Tools Menu

Menu and items Internal name
Tools menu _MTOOLS
Wizards _MTL_WZRDS
1st Separator _MTL_SP100
Spelling... _MTL_SPELL
Macros... _MST_MACRO
Class Browser _MTL_BROWSER
Component Gallery _MTL_GALLERY
Coverage Profiler _MTL_COVERAGE
Beautify… _MED_BEAUT
Run Active Document… _MTI_RUNACTIVEDOC
2nd Separator _MTL_SP200
Debugger _MTL_DEBUGGER
3rd Separator _MTL_SP400
Options... _MTL_OPTNS

Program Menu

Menu and items Internal name
Program item _MPROG
Do... _MPR_DO
Cancel _MPR_CANCL
Resume _MPR_RESUM
Suspend _MPR_SUSPEND
1st Separator _MPR_SP100
Compile... _MPR_COMPL

Window Menu

Menu and items Internal name
Window menu _MWINDOW
Arrange All _MWI_ARRAN
1st Separator _MWI_SP100
Hide _MWI_HIDE
Hide All _MWI_HIDE
Show All _MWI_SHOWA
Clear _MWI_CLEAR
Cycle _MWI_ROTAT
2nd Separator _MWI_SP200
Command Window _MWI_CMD
Data Session _MWI_VIEW

Help Menu

Menu and items Internal name
Help menu _MSYSTEM
Microsoft Visual FoxPro Help Topics _MST_HPSCH
1st Separator _MST_SP100
Contents _MST_MSDNC
Index _MST_MSDNI
Search _MST_MSDNS
Technical Support _MST_TECHS
Microsoft on the Web _HELPWEBVFPFREESTUFF
2nd Separator _MST_SP200
About Microsoft Visual FoxPro... _MST_ABOUT