DOCUMENT:Q97052 03-FEB-2000 [foxpro] TITLE :Redefining the Function Keys in FoxPro Config File PRODUCT :Microsoft FoxPro PROD/VER:MS-DOS:1.0,1.01,1.02,1.21,2.0,2.1,2.5,2.5a; WINDOWS:2.5,2.5a OPER/SYS: KEYWORDS: ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft FoxPro for Windows, versions 2.5, 2.5a - Microsoft FoxPro for MS-DOS, versions 1.0, 1.01, 1.02, 2.0, 2.5, 2.5a - Microsoft FoxBASE+ for MS-DOS, versions 1.21, 2.0, 2.1 ------------------------------------------------------------------------------- SUMMARY ======= To assign an expression to a function key in the CONFIG.FPW (FoxPro for Windows), CONFIG.FX (FoxBASE+ for MS-DOS), or CONFIG.FP (FoxPro for MS-DOS) file, specify F=. MORE INFORMATION ================ For example, to assign the character string 'SET SYSMENU TO DEFAULT' to the F2 key, use the following statement in the CONFIG.FPW file: F2='SET SYSMENU TO DEFAULT;' FoxPro translates a semicolon (;) in the expression as a carriage return. When the F2 key is pressed, the command SET SYSMENU TO DEFAULT is executed. To clear function key definitions, use the CLEAR MACROS command. Additional query words: FoxDos FoxWin 1.00 ====================================================================== Keywords : Technology : kbAudDeveloper kbFoxproSearch kbZNotKeyword3 kbFoxPro200DOS kbFoxPro250DOS kbFoxPro250aDOS kbFoxPro250 kbFoxPro250a kbFoxBASE210DOS kbFoxBASE121DOS kbFoxBASE200DOS kbFoxBASESearch Version : MS-DOS:1.0,1.01,1.02,1.21,2.0,2.1,2.5,2.5a; WINDOWS:2.5,2.5a ============================================================================= 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. Copyright Microsoft Corporation 2000.