How to Change Keyboard Shortcuts in FoxPro for Windows

Last reviewed: June 27, 1995
Article ID: Q103772
The information in this article applies to:
  • Microsoft FoxPro for MS-DOS, versions 2.5 and 2.5a
  • Microsoft FoxPro for Windows, versions 2.5 and 2.5a

The keyboard shortcuts in FoxPro for Windows differ from those in FoxPro for MS-DOS because FoxPro for Windows uses the Windows-standard keystrokes--for example, pressing ENTER selects the option that has the focus.

FoxPro for Windows supports both an MS-DOS-style keystroke mode and a Windows-style keystroke mode. (At installation time, you can choose "Windows-standard" or "DOS-style" keystrokes.) For details on the keystroke differences, refer to the FoxPro online Help file.

You can change this mode at any time for a particular FoxPro session by issuing the appropriate command shown below:

   SET KEYCOMP TO DOS

   -or-

   SET KEYCOMP TO WINDOWS

Note that each time FoxPro opens anew, the default KEYCOMP setting is reinvoked. To permanently change the KEYCOMP setting, add one of the following statements to the CONFIG.FPW file:

   KEYCOMP=DOS

   -or-

   KEYCOMP=WINDOWS


Additional reference words: FoxDos FoxWin 2.50 2.50a CONFIG.FPW SET KEYCOMP
KEYBOARD SHORTCUTS short cuts hot keys accelerator hotkeys
KBCategory: kbprg
KBSubcategory: FxenvConfigfp


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: June 27, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.