Text exceeds Label width

Jan Schenkel janschenkel at yahoo.com
Mon Dec 19 13:04:57 EST 2005


--- Garrett Hylltun <garretthylltun at gmail.com> wrote:
> Greetings,
> 
> Does anyone know if there is a way to find out if
> the text of a Label  
> exceeds it's width?
> 
> Thanks in advance,
> -Garrett
> 

Hi Garett,

Check out the 'formattedWidth' property:
--
if the formattedWidth of field 1 < the width of field
1 then ...
--

Hope this helped,

Jan Schenkel.

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

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

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the use-livecode mailing list