Microsoft KB Archive/107521
FIX: WAIT WINDOW Forces FoxPro to Be Active Application
2.50a WINDOWS kbprg kbfixlist kbbuglist
The information in this article applies to:
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.
Microsoft has confirmed this to be a problem in FoxPro 2.5a for Windows. This problem was corrected in FoxPro 2.5b for Windows.
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
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
Last Reviewed: October 14, 1997