PRB: Text Box Value Does Not Change If ControlSource Is .NULL.Last reviewed: February 6, 1998Article ID: Q180615 |
The information in this article applies to:
SYMPTOMSWhen the ControlSource property of a text box control is set to the custom property of a form and the custom property is .NULL., the text in the control cannot be changed. If the text in the control is edited, the text changes to .NULL. when the control loses focus.
RESOLUTIONChange the class definition in the code below to add the KeyPress method as follows:
DEFINE CLASS NewTextBox AS textbox PROCEDURE KeyPress LPARAMETERS nKeyCode, nShiftAltCtrl *-- Once the text has changed, set the custom *-- property of the form to the text box. ThisForm.custom_prop = This.Value ENDPROC ENDDEFINE STATUSMicrosoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Behavior
Keywords : FxtoolFormdes VFoxMac vfoxwin vfp50abug vfp50bug kbcode Version : MACINTOSH:3.0b; WINDOWS:3.0,3.0b,5.0,5.0a Platform : MACINTOSH WINDOWS Issue type : kbprb |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |