Microsoft KB Archive/119228

From BetaArchive Wiki

FIX: LASTKEY() Doesn't Recognize Click in WAIT WINDOW

ID: Q119228

2.5x 2.60 | 2.5x 2.60 | 2.50b 2.50c

WINDOWS   | MS-DOS    | MACINTOSH

kbprg kbfixlist kbbuglist The information in this article applies to:

  • Microsoft FoxPro for Windows, versions 2.5x, 2.6
  • Microsoft FoxPro for MS-DOS, versions 2.5x, 2.6
  • Microsoft FoxPro for Macintosh, versions 2.5b, 2.5c

SYMPTOMS

LASTKEY() doesn't return a value when a WAIT WINDOW is cleared by a mouse click. It should return the value -100.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in FoxPro 2.6a for Windows, FoxPro 2.6a for MS-DOS, and FoxPro 2.6a for Macintosh.

MORE INFORMATION

Steps to Reproduce Problem

1. Open the Debug window. In the left partition of the Debug window, type

   "LASTKEY()" (without the quotation marks), then press ENTER. Note that
   the value 13 (for the ENTER key) displays in the right partition.

2. In the Command window, type "WAIT WINDOW" (without the quotation

   marks).

3. Click the mouse button to clear the WAIT WINDOW. Note that the value listed for LASTKEY() in the Debug window is still 13.

Additional reference words: FoxMac FoxDos FoxWin buglist2.50a buglist2.50b buglist2.50c buglist2.60 fixlist2.60a 2.50 2.50a 2.50b 2.50c 2.60 2.60a KBCategory: kbprg kbfixlist kbbuglist KBSubcategory: FxtoolDebug Solution Type : kbfix


Last Reviewed: October 20, 1997
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.