PRB: Certain Settings Of MaxLength Property Closes Visual FoxProLast reviewed: December 2, 1997Article ID: Q166180 |
The information in this article applies to:
SYMPTOMSOne of the following may cause Visual FoxPro to quit or cause a system error:
CAUSEThis is known to happen if the MaxLength property of a class based on the EditBox control is set to the following:
LEN(EVAL(This.ControlSource)) RESOLUTIONRemove the offending functions from the MaxLength property of the class definition for the subclassed EditBox control. If the MaxLength property must be set to LEN(EVAL(This.ControlSource)), set it after placing the instance of the class on a form.
STATUSMicrosoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONThis is not a problem in Visual FoxPro 3.x for Windows or Visual FoxPro 3.0b for Macintosh. Note that when entering LEN(EVAL(This.ControlSource))in the Expression Builder, if the Verify button is pushed, the following error messages are returned: In Visual FoxPro 5.x:
Missing expression.In Visual FoxPro 3.x for Windows and for Macintosh:
THIS can only be used within a method. Steps to Reproduce BehaviorWarning: The following steps will crash Visual FoxPro and even possibly the computer's operating system. Make sure anything important is saved and closed.
Keywords : FxprgClassoop vfoxwin Version : 5.0 5.0a Platform : WINDOWS Issue type : kbprb |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |