In the second example, maybe try refreshing the Editbox as well?
Dan On 06/10/13 09:50 PM, Sytze de Boer wrote:
This is beginning to really annoy me and I really need some help In one of my apps I have a form with an Edit1 box which has an InteractiveChange event as follows thisform.text2.value=len(alltrim(This.value)) thisform.text2.Refresh() The Edit box behaves without any issues or problems I have another App with a completely different form, but it also has a Edit box In the InteractiveChange event it has thisform.label9.caption="Characters: "+ALLTRIM(STR(len(alltrim(This.value)))) thisform.label9.Refresh() After entering some data, and you press Enter, it adds a line (or I think it does), but the cursor remains in the same position If I type the following, the labels tells me Characters: 38 The big brown dog jumped over the moon If I press Enter after the last letter (n), the message changes to 40 (and 42,44,46 everytime I press enter, but the cursor stays directly next to the last letter (n) Pressing space bar is fine Any clues anyone ?
_______________________________________________ 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.

