Peter Cushing <[email protected]> wrote: >Just created a form with an edit box to do the same thing and works >fine. In the interactive change I have: >thisform.label1.Caption = ALLTRIM(STR(LEN(this.Value))) + ' Characters' >Pressing enter adds 2 chars (carriage return and line feed) and the >cursor moves down a line. > >You could try commenting your code and see if it makes a difference. >Maybe you have a keypress event doing something with the enter key? > >Try adding a new editbox to the form and see if you can enter data into > >that, then add the interactive change. > >Peter >
Class inheritance may be different between the two projects. You may see different behavior if one edit box is in a pageframe. Sometimes, themes has caused unexpected behavior. I have not seen this behavior myself. -- Tracy _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

