FIX: WAIT WINDOW Forces FoxPro to Be Active Application

Last reviewed: October 14, 1997
Article ID: Q107521
2.50a WINDOWS kbprg kbfixlist kbbuglist

The information in this article applies to:

  • Microsoft FoxPro for Windows, version 2.5a

SYMPTOMS

When FoxPro for Windows is executing a WAIT WINDOW code segment, FoxPro will be brought forward as the active application, even if you have switched to another application by pressing ALT+TAB.

STATUS

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

MORE INFORMATION

When you switch from FoxPro for Windows to another application, the application brought forward should remain active until it has been closed or until another application is brought forward.

Steps to Reproduce Problem

  1. Open the Write application located in the Accessories group.

  2. Press ALT+TAB to activate Program Manager, and then load FoxPro 2.5a for Windows.

  3. Create a program with the following code:

          ****Begin Code Example****
          FOR X = 1 to 100000
    
              IF X % 1000 = 0
                 WAIT CLEAR
                 WAIT WINDOW NOWAIT STR(X)
              ENDIF
          ENDFOR
          ****End Code Example****
    
    

  4. Run the program.

  5. Press ALT+TAB to activate Write.

Note that every time WAIT WINDOW is called, FoxPro is brought to the foreground.


Additional reference words: FoxWin 2.50 buglist2.50a fixlist2.50b active on
top front background
KBCategory: kbprg kbfixlist kbbuglist
KBSubcategory: FxtoolGeneral
Solution Type : kbfix


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