Trouble setting the font of the text of a field

Jeanne A. E. DeVoto revolution at jaedworks.com
Thu Aug 11 15:53:42 EDT 2016


At 11:28 AM -0700 8/11/2016, Dr. Hawkins wrote:
>This code has been around a while; it's part of the maintenance routines.
>But now it's glitching.
[...]
>      set the textFont of the text of tgTg to empty


"the text of tgTg" would be parsed as the text content of the field.

Try using this instead:

   set the textFont of char 1 to -1 of tgTg to empty

That should work.




More information about the use-livecode mailing list