How can I get string width?

吉野 孝 yoshino at sys.wakayama-u.ac.jp
Tue Mar 6 05:13:48 EST 2012


Thanks Monte !

It works very well.

The functions of formattedHeight and formattedWidth are good for me.

It can work well in double-byte character.

Takashi

On 2012/03/05, at 11:47, Monte Goulding wrote:

> Do you mean the number of characters?
> 
> put the number of characters of X
> 
> or 
> 
> put length(X)
> 
> Or do you mean the width in a field to take into account the font etc?
> 
> put the formattedWidth of field X
> 
> Cheers
> 
> Monte
> 
> On 05/03/2012, at 1:42 PM, 吉野 孝 wrote:
> 
>> Hi, Experts!
>> 
>> How can I get string width?
>> 
>> I would like to string width…
>> 
>> _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ 
>> Takashi Yoshino 
>> http://www.wakayama-u.ac.jp/~yoshino/lab/
>> Tel: +81-73-457-8441
>> 
>> 
>> _______________________________________________
>> 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
> 
> 
> _______________________________________________
> 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

_.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ 
Takashi Yoshino 
http://www.wakayama-u.ac.jp/~yoshino/lab/
Tel: +81-73-457-8441





More information about the use-livecode mailing list