BUG: Opening Then Closing 2nd Modal Form Disables VFP Close Box (232130)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q232130 SYMPTOMS
You have a Visual FoxPro application which runs a modal form. This modal form displays a second modal form. After closing the second modal form and returning to the first modal form, the close box in the Visual FoxPro desktop becomes disabled.
RESOLUTION
As a workaround, in the Destroy method of the second modal form, set the form's Visible property to .F. and toggle the _SCREEN.Closable property to .F. and back to .T.. This code demonstrates:
Thisform.Visible = .F.
_SCREEN.Closable = .F.
_SCREEN.Closable = .T.
There may be a very rapid flicker of the close box, but the flicker should only be visible if you look directly at the close box when you close the form.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. REFERENCES
(c) Microsoft Corporation 1999, All Rights Reserved. Contributions by Jim Saunders, Microsoft Corporation.
Modification Type: | Major | Last Reviewed: | 10/16/2002 |
---|
Keywords: | kbBug kbContainer kbCtrl KB232130 |
---|
|