Microsoft KB Archive/96365

{| = BUG: Cannot Redefine Macro with ON KEY LABEL Command =
 * width="100%"|

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.

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 &quot;ON KEY LABEL CTRL+F10 WAIT WINDOW.&quot; 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:
 * }