Article ID: 126583
Article Last Modified on 12/3/2003
? SYS(1037)The Help file for FoxPro version 2.6 and 2.6a, in both the MS-DOS and Windows versions, is partially incorrect in that it states that this command is Macintosh-specific and will be ignored in the Windows and MS-DOS Versions of FoxPro. SYS(1037) works in FoxPro versions 2.6 and 2.6a for Windows, but not in other versions. -or-
RUN /N7 CONTROL MAIN.CPL PRINTERSThis invokes the Control Panel, Printers option. However this is a less desirable workaround because, as noted in article 101154, this causes the control panel to flash momentarily in the background. This command is specific to Windows only.
**---------------------------------------------------------** ** Place this code in a file called MENU.MPR ** **---------------------------------------------------------** SET SYSMENU TO SET SYSMENU AUTOMATIC DEFINE PAD testpad OF _msysmenu PROMPT "System" COLOR SCHEME 3 ON PAD testpad OF _msysmenu ACTIVATE POPUP SYSTEM DEFINE POPUP SYSTEM MARGIN RELATIVE SHADOW COLOR SCHEME 4 DEFINE BAR _mfi_setup OF SYSTEM PROMPT "Printer Setup..." **--------------------------------------------------------** ** Place this code in a file called MENU.PRG ** **--------------------------------------------------------** Terminate = .F. ON KEY LABEL f5 Do Stopit DO menu.mpr READ VALID terminate SET SYSMENU TO DEFAULT Procedure Stopit STORE .T. TO terminate clear ReadWhile running the program, you can access the menu pad labeled SYSTEM, but the Printer Setup option is disabled.
Additional query words: VFoxWin FoxWin 2.50 _MFI_SETUP PDSETUP print menu setup exe disabled
Keywords: kbprb KB126583