property for text overflow?

Jan Schenkel janschenkel at yahoo.com
Tue Jul 22 08:42:53 EDT 2008


--- Tiemo Hollmann TB <toolbook at kestner.de> wrote:
> Hi, I can't remember and find if there is a field
> property or a function to
> check, if a text in a field fits in the visible part
> of the field. Something
> like text overflow?
> 
> Or how can I compare the length of a text with the
> width of a field (single
> line)? Probably done a thousand times.
> 
> Thanks
> 
> Tiemo
> 

Hi Tiemo,

Check the 'formattedWidth' and 'formattedHeight' field
properties in the dictionary.

Hope this helped,

Jan Schenkel.

Quartam Reports & PDF Library for Revolution
<http://www.quartam.com>

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)


      



More information about the use-livecode mailing list