BUG: Cannot Redefine Macro with ON KEY LABEL Command

Last reviewed: April 17, 1995
Article ID: Q96365
The information in this article applies to:
  • Microsoft FoxPro for MS-DOS, versions 2.0, 2.5, and 2.5a

SYMPTOMS

If a macro is defined to perform combined keystrokes and an ON KEY LABEL command is used for the same keystrokes, the macro will not perform the ON KEY LABEL routine.

STATUS

Microsoft has confirmed this to be a problem in Microsoft FoxPro versions 2.0, 2.5, and 2.5a for MS-DOS. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Problem

Use an ON KEY LABEL routine for both keys. In the example below, set up an ON KEY LABEL F9 routine and an ON KEY LABEL CTRL+F10 routine that perform the same task.

  1. From the System menu, choose Macros.

  2. Select Record. Press F9 for the function key and name. Choose the OK button to begin recording macro.

  3. Press the CTRL key and F10 (CTRL+F10) at the same time. Press SHIFT+F10 to stop recording the macro.

  4. In the Command window, press the F9 key to ZOOM the current window in and out.

  5. In the Command window, type "ON KEY LABEL CTRL+F10 WAIT WINDOW." Press ENTER, and then press CTRL+F10 to see the WAIT WINDOW appear.

  6. Press the F9 key.

    The Command window still ZOOMs in and out.


Additional reference words: FoxDos 2.00 2.50 far key strokes buglist2.00
buglist2.50 buglist2.5a
KBCategory: kbprg kbbuglist kbmacro
KBSubcategory:


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