ID: Q96365
The information in this article applies to:
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.
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.
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:
Last Reviewed: April 17, 1995