Hi folks
I am trying to find the width of some text.
I know about finding the width of a text BOX with member("whatever").width -
but is there any way of finding out how wide the actual (changing) content
is?
For example if the member contained "elephant" it should give a larger width
than when it contained "cat".
Counting the number of characters is no good, because some characters are
wider than others.
I have found pointToChar() in the lingo dictionary, but I really want the
opposite - saying
member("whatever").char[member("whatever").char.count].CharTopoint()
I am sure I am missing something really obvious!
Many thank,
Regards
~nick~
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]