There is also a measureText() function that might help.

Devin

> On Oct 24, 2020, at 4:35 AM, Klaus major-k via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Hi Richmond,
> 
>> Am 24.10.2020 um 12:17 schrieb Richmond via use-livecode 
>> <use-livecode@lists.runrev.com>:
>> 
>> Over in the Forums someone has asked a question about measuring the length 
>> of text lines.
>> Of course one can count characters, but in most alphabetic systems different 
>> characters have different lengths.
>> Is there a way to measure the length as in LENGTH of a line rather than 
>> count the number of characters it
>> contains?
> 
> ...
> put the formattedwidth of line 1 of fld 1
> ...
> 
>> Richmond.
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> https://www.major-k.de
> kl...@major-k.de
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

Devin Asay
Director
Office of Digital Humanities
Brigham Young University


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to