The information in this article applies to:
SYMPTOMSWhen calling the ResetToDefault method at run-time in Visual FoxPro 6.0, the following error occurs: This error only occurs when resetting events or methods. Resetting properties does not produce the error. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONWhen calling the ResetToDefault method, it resets the property, event, or method that it is referencing back to its default value. For example, issuing the following code sets the FontBold property of the form back to the default value of False:
In Visual FoxPro 6.0, setting properties back to their default works correctly but setting events and methods back to their defaults causes the error described above. Of course, properties that are not available at run-time or design-time will always return the error, as they should.
Steps to Reproduce Behavior
The error above occurs and the form's Click event is not set back to its default because the WAIT WINDOW command still fires. Additional query words:
Keywords : kberrmsg kbContainer kbCtrl kbOOP kbVFp600bug kbGrpFox |
Last Reviewed: May 21, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |