PRB: Using INKEY() in FoxPro for Mac Seems to Hang System

Last reviewed: June 3, 1996
Article ID: Q109598
The information in this article applies to:
  • Microsoft FoxPro for Macintosh, version 2.5b
  • Microsoft Visual FoxPro for Macintosh, version 3.0b

SYMPTOMS

When the INKEY() function is issued in a full-screen application (the Apple Finder does not appear in the background), there is no way to return to the Finder or to switch applications until a key is pressed. The machine appears to be hung.

RESOLUTION

If any part of the Finder or another application is visible in the background, you can click on this area to activate it. Otherwise, you must press a key before any other action can occur.

MORE INFORMATION

Steps to Reproduce Behavior

Type the following commands in the Command window:

   ZOOM WINDOW SCREEN MAX
   =INKEY(0)

Note that mouse clicks are no longer recognized and the application menu is not available, preventing you from switching to another application.


Additional reference words: VFoxMac 3.00b FoxMac 2.50b lock up halt
KBCategory: kbui kbprg kbtshoot kbprb
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: June 3, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.