BUG: ON KEY LABEL RIGHTMOUSE WAIT WINDOW "Text" Malfunctions

Last reviewed: July 14, 1997
Article ID: Q120190
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, versions 3.0, 5.0, 5.0a
  • Microsoft FoxPro for Windows, versions 2.5x, 2.6x
  • Microsoft FoxPro for MS-DOS, version 2.6x

SYMPTOMS

Using the one of the following commands:

   ON KEY LABEL RIGHTMOUSE WAIT WINDOW "<Text>"

   -or-

   ON KEY LABEL LEFTMOUSE WAIT WINDOW "<Text>"

   -or-

   ON KEY LABEL MOUSE WAIT WINDOW "<Text>"

will result in unexpected behavior when the appropriate mouse button is subsequently pressed. The WAIT window will flash briefly on the screen and then disappear.

RESOLUTION

Two possible alternatives to using a WAIT window are:

  • Instead of using a WAIT window, use a procedure that defines a window, activates it, and places an @SAY "<Text>" command inside it.

    -or-

  • Use the ON KEY LABEL RIGHTMOUSE SET MESSAGE TO "<Text>" command instead of a WAIT window. The text will appear on the status bar when the right mouse button is pressed.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

This command works as expected in FoxPro for MS-DOS.


Additional query words: click hit appear go away
Keywords : buglist2.50 buglist2.50a FoxDos FoxWin kbprg vfpbug5.0a
Version : 2.5x 2.6 2.6a 3.0 5.0 5.0a
Platform : MS-DOS WINDOWS
Issue type : kbbug


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: July 14, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.