BUG: WAIT WINDOW NOWAIT Problem with Top-Level FormsLast reviewed: November 11, 1997Article ID: Q175766 |
The information in this article applies to:
SYMPTOMSWhen running a Visual FoxPro program that displays a WAIT WINDOW on activation of a Top-Level form, the Top-Level form stops responding. The Top-Level form does not close. The WAIT WINDOW does not close. If the Visual FoxPro desktop is not hidden, it can be activated to access the Command window either by clicking it or by clicking the button on the Windows Taskbar. Upon reactivating the Top-Level form by clicking the Windows Taskbar button for the Top-Level form, a transparent copy of the Top-Level form appears but the Top-Level form is still unresponsive. Quit Visual FoxPro to eliminate the Top-Level form.
CAUSEThere is a WAIT WINDOW "some message" NOWAIT command in the Activate method of the Top-Level form, which is followed by the Thisform.Release command. The problem still occurs if there is other code between the WAIT WINDOW command and the Thisform.Release command.
RESOLUTIONThere are three possible workarounds, depending on what is desired:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Behavior
|
Additional query words: SDI Single Document Interface
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |