BUG: RESTORE SCREEN Does Not Refresh Form in VFP 5.0Last reviewed: January 30, 1998Article ID: Q180070 |
The information in this article applies to:
SYMPTOMSUsing the RESTORE SCREEN FROM <variable name> command does not restore information on a form or on a window created with the DEFINE WINDOW command when either object was saved to a memory variable using the SAVE SCREEN TO <variable name> command.
RESOLUTIONTo refresh the form, use the toggle the LockScreen property of the form as shown below:
Testform.LockScreen=.T. RESTORE SCREEN FROM y Testform.LockScreen=.F.There is not a way to refresh a window created with the DEFINE WINDOW command.
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 BehaviorIn the FoxPro Command window, enter the following commands:
Testform=CREATEOBJECT("form") Testform.Show ? "Hello" SAVE SCREEN TO y CLEAR RESTORE SCREEN FROM y"Hello" does not appear on the form and the form is not refreshed.
REFERENCESFor additional information, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q174244 TITLE : RESTORE SCREEN Causes Memory Leak in Visual FoxPro 5.0 Keywords : FxprgGeneral vfoxwin Version : WINDOWS:5.0,5.0a Platform : WINDOWS Issue type : kbbug |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |