BUG: CLEAR Command Doesn't Clear Popup in FoxPro for Windows

Last reviewed: June 28, 1995
Article ID: Q114583
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.5, 2.5a, 2.5b, 2.6

SYMPTOMS

The CLEAR command does not clear a popup.

RESOLUTION

To temporarily remove a popup from the screen, use the HIDE POPUP command. To redisplay the popup, use the SHOW POPUP command.

STATUS

Microsoft has confirmed this to be a problem in FoxPro versions 2.5, 2.5a, 2.5b, and 2.6 for Windows. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Problem

Execute this code to reproduce the problem. In FoxPro for MS-DOS and dBASE IV 2.0, the popup will disappear when the ENTER key is pressed to call PROCEDURE myx. In FoxPro for Windows, the popup will not disappear.

   SET COMPATIBLE DB4

   DEFINE POPUP x FROM 10,10
   DEFINE BAR 1 OF x PROM "Hello"
   DEFINE BAR 2 OF x PROM "Bye"
   ON SELECTION POPUP x DO myx
   ACTIVATE POPUP x
   RELEASE POPUPS x

   PROCEDURE myx

   CLEAR
   ? "cleared"
   wait

   RETURN


Additional reference words: FoxWin 2.50 2.50a 2.50b 2.60 differences
buglist2.50
buglist2.50a buglist2.50b buglist2.60
KBCategory: kbprg kbbuglist
KBSubcategory: FxinteropDbase


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