The information in this article applies to:
SYMPTOMSWhen you are inserting text in an edit box that already has data in it, the insertion point jumps through the existing data in an apparently random manner on each press of a key. CAUSEThis is caused by referencing the Value property of the edit box during the InteractiveChange event when there are carriage return and line feed characters in the edit box data. Carriage return and line feed characters can get in the edit box when the ENTER key is pressed when typing in data. RESOLUTIONUse the Text property rather than the Value property. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONThe code below creates a form with an edit box on it. The Init method of the edit box assigns some text to the Value property, including carriage return and line feed characters. Steps to Reproduce Behavior
Additional query words:
Keywords : kbOOP kbVFp500 kbVFp500a kbVFp500abug kbVFp600bug kbVS600sp3 kbGrpFox kbDSupport kbCodeSnippet |
Last Reviewed: November 17, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |