Problem with the formattedWidth

Ralph DiMola rdimola at evergreeninfo.net
Tue Nov 20 12:53:29 EST 2012


I have seen something like this in my mobile resizing library and have not
been able to put my finger on it. I think you're getting closer to nailing a
recipe for this one.

Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net

-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of Peter Haworth
Sent: Tuesday, November 20, 2012 12:47 PM
To: How to use LiveCode
Subject: Problem with the formattedWidth

While testing out the solution for right justifying a column in a table (in
another thread), I've come across a problem with the formattedWidth of a
field

It appears that the formattedwidth doesn't always get updated when a new
value is entered into a field.  I typed something into a field, then used
the message box to get its formatted width.  Then typed a shorter string of
characters into the field, got the formattedwidth again, and it was the same
as for the previous text value in the field.  I haven't 100% verified yet,
but it appears that if the new string is longer than the previous string,
then the formatted width is reported correctly but if the new string is
shorter than the old string, it is reported incorrectly.

This is with LC 5.5.0.  Anyone else seeing this?

Pete
lcSQL Software <http://www.lcsql.com>
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list