How to Activate FoxPro 2.6 Style System Menu in Visual FoxPro

Last reviewed: September 5, 1995
Article ID: Q136212
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 3.0

SUMMARY

The System Menu in Visual FoxPro has been redesigned. Some of the options that were available in the FoxPro version 2.6 System Menu are either not available in Visual FoxPro or are different. This article illustrates how you can activate a FoxPro version 2.6 style System Menu in Visual FoxPro.

MORE INFORMATION

Basically, you need to get all the FoxPro version 2.6 style menus you need to create. Then generate a QuickMenu in FoxPro version 2.6, and run it in Visual FoxPro.

For example, to get the FoxPro version 2.6 Browse menu instead of the Visual FoxPro Table menu when you browse through a table, use the SYS(1029) function. The syntax for this function is:

   =SYS(1029,<n>)

Here <n> can either be 0 or 1. The 0 activates the FoxPro version 2.6 style Browse menu, and the 1 activates the Visual FoxPro style Table menu.

Step-by-Step Example

  1. Open any existing table, and issue the following commands from the Command window:

       =sys(1029,0)        && FoxPro v2.6 style Browse menu
       BROWSE
       && You will get the Browse menu instead of the Table menu.
    
    

  2. Close the Browse window, and issue the following commands from the Command window:

       =sys(1029,1)        && Visual FoxPro style Table menu
       BROWSE
       && You will get the Table menu
    


Additional reference words: 3.00 sys(1029) VFoxWin
KBCategory: kbtool
KBSubcategory: FxtoolMbuilder


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 5, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.