Condividi tramite


System Menu Names

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 Designing Menus and Toolbars.

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
View _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
Replace _MED_REPL
Go To Line _MED_GOTO
4th Separator _MED_SP400
List Members _MED_LISTMEMBERS
QuickInfo _MED_QUICKINFO
5th Separator _MED_SP500
Bookmarks _MED_BKMKS
6th Separator _MED_SP600
Insert Object _MED_INSOB
Object _MED_OBJ
Links _MED_LINK
7th Separator _MED_SP700
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
Macros _MST_MACRO
Class Browser _MTL_BROWSER
Component Gallery _MTL_GALLERY
Object Browser _MTL_OBJECTBROWSER
IntelliSense Manager _MTI_FOXCODE
2nd Separator _MTL_SP200
Beautify _MED_BEAUT
Task List _MTI_TASKLIST
Document View _MTI_DOCVIEW
3rd Separator _MTL_SP300
Coverage Profiler _MTL_COVERAGE
Breakpoints _MTI_BREAKPOINT
Debugger _MTL_DEBUGGER
4th Separator _MTL_SP400
   Trace _MTI_TRACE
   Locals _MTI_LOCALS
   Call Stack _MTI_CALLSTACK
   Output _MTI_DBGOUT
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
Cascade _MWI_CASCADE
Arrange All _MWI_ARRAN
1st Separator _MWI_SP100
Dockable _MWI_DOCKABLE
2nd Separator _MWI_SP200
Hide _MWI_HIDE
Clear _MWI_CLEAR
Cycle _MWI_ROTAT
3rd Separator _MWI_SP300
Command Window _MWI_CMD
Data Session _MWI_VIEW
(maintains compatibility with earlier versions of Visual FoxPro)
Properties _MWI_PROPERTIES

Help Menu

Menu and items Internal name
Help menu _MSYSTEM
Microsoft Visual FoxPro Help _MST_HPSCH
MSDN Search _MST_MSDNS
1st Separator _MST_SP100
Technical Support _MST_TECHS
Visual FoxPro on the Web _MST_VFPWEB
2nd Separator _MST_SP200
About Microsoft Visual FoxPro _MST_ABOUT

See Also

SYS(2013) - System Menu Name String | SYS(1500) - Activate a System Menu Item | Menu Designer | Designing Menus and Toolbars