Article ID: 207797 - View products that this article applies to.
This article was previously published under Q207797
This article has been archived. It is offered "as is" and will no longer be updated.
When 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.
This 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.
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
The 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
Article ID: 207797 - Last Review: February 28, 2014 - Revision: 1.1
Contact us for more help
Connect with Answer Desk for expert help.