Changing Font Style of Text Already in a Field
    Klaus Major 
    klaus at major-k.de
       
    Fri Oct 28 10:40:14 EDT 2005
    
    
  
Hi Gregory,
> Hello Everyone,
>
>     If I have a field full of text in, say, Geneva, and want it  
> changed to Lucida Grande, how do I do it with a handler?  I've tried
>     set the textFont of fld "X" to "Lucida Grande"
> but that only changes a text property of the field itself but not  
> the appearance of text already in it.
try:
set the textFont of char 1 to -1 of fld "X" to "Lucida Grande"
>     Gregory
Regards
Klaus Major
klaus at major-k.de
http://www.major-k.de
    
    
More information about the use-livecode
mailing list