Microsoft KB Archive/97052

= Redefining the Function Keys in FoxPro Config File =

Article ID: 97052

Article Last Modified on 12/1/2003

-

APPLIES TO


 * Microsoft FoxPro 2.5b
 * Microsoft FoxPro 2.5a
 * Microsoft FoxPro 2.0
 * Microsoft FoxPro 2.5b for MS-DOS
 * Microsoft FoxPro 2.5a
 * Fox Software FoxBASE+ 1.21 for MS-DOS
 * Microsoft FoxBASE+ 3.0 for MS-DOS
 * Microsoft FoxBASE+ 2.5 for MS-DOS

-



This article was previously published under Q97052



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: KB97052

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.