On 2015-08-28 17:04, Fernando D. Bozzo wrote:
Hi Mike:

This not only happen in grid, with the textbox alone happens too under some
circumstances.

It's better to assign a maxlenght of 25 in your case, because when using 0, many times the entry is ended on the right visible margin of the control,
and not in the real Max.


Hi Fernando,

That "ended on the right visible margin of the control" appears to be the likely culprit. I did debug though and find a ton of crap going on in the GotFocus and InteractiveChange which I believe contributed to the problem as well. My attempt to fix was to look at the length of the value in the GotFocus and do something like the following:

if len(alltrim(this.value)) = 0 then
  this.value = space(25)
endif


_______________________________________________
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.

Reply via email to