Re: Problem with the formattedWidth

2012-11-20 Thread J. Landman Gay
On 11/20/12 2:34 PM, Peter Haworth wrote: It's only one line and I've tried it with dontWrap set to true and false with the same result. I tried getting the formatted width of line 1 of the field and that does seem to work reliably. interestingly, it reports a different value than the formatted

RE: Problem with the formattedWidth

2012-11-20 Thread Ralph DiMola
- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Peter Haworth Sent: Tuesday, November 20, 2012 3:35 PM To: How to use LiveCode Subject: Re: Problem with the formattedWidth It's only one line and I've tried it with dontWrap set to true and false with the same

Re: Problem with the formattedWidth

2012-11-20 Thread Peter Haworth
It's only one line and I've tried it with dontWrap set to true and false with the same result. I tried getting the formatted width of line 1 of the field and that does seem to work reliably. interestingly, it reports a different value than the formatted width of the field! Pete lcSQL Software

Re: Problem with the formattedWidth

2012-11-20 Thread J. Landman Gay
On 11/20/12 11:47 AM, Peter Haworth wrote: 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

RE: Problem with the formattedWidth

2012-11-20 Thread Ralph DiMola
: use-livecode [mailto:use-livecode-boun...@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 com

Problem with the formattedWidth

2012-11-20 Thread Peter Haworth
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 f