PRB: FOXTOOLS.FLL Snippet Causes ALT Key to Stay in Effect

Last reviewed: April 30, 1996
Article ID: Q110130
The information in this article applies to:
  • Microsoft FoxPro for Windows, version 2.5

SYMPTOMS

The following code snippet causes FoxPro for Windows to behave as if the ALT key is held down. Typing a letter in the Command window opens the menu whose hot key (access key) matches that letter. For example, typing the letter "f" (without the quotation marks) opens the File menu.

RESOLUTION

Microsoft has confirmed this to be a problem in FoxPro 2.5 for Windows. This problem was corrected in FoxPro 2.5a for Windows.

MORE INFORMATION

Steps to Reproduce Problem

NOTE: This behavior does not occur if the following code is run from a program. It only occurs only when this code is typed in the Command window.

  1. Type the following code in the Command window:

          SET LIBRARY TO SYS(2004) + "foxtools.fll"
          m.msgbox = REGFN("messagebox", "ICCI", "I")
          m = CALLFN(m.msgbox, 0, "testing", "notice", 16)
    

  2. Choose the OK button in the resulting message box.

At this point, any letter you type in the Command window that corresponds to a menu-access key opens a menu.


Additional reference words: FoxWin 2.50 shortcut short cut stroke pull down
hotkey
KBCategory: kbprg kbui kbprb
KBSubcategory: FxprgFoxtools


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 30, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.