Try

Set the textstyle of char 1 to -1 of field "my field" to empty


You can also do this:
Put field "my field" into field "my field"

That will put the text - without formatting - into the field content

Sent from my iPhone

> On Apr 10, 2017, at 8:29 PM, Dr. Hawkins via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> I have a number of label fields which inadvertently have bold text in them.
>  I can identify these in a loop from their text, and put the long id of
> the field into tgTg.
> 
> Shouldn't one of
> 
> *set* the textStyle of tgTg to "plain"
> 
> or
> 
> *set* the textStyle of char 1 to -1 of the text of tgTg to "plain"
> 
> 
> 
> do this?
> 
> I'm trying to completely obliterate any bold settings, and there may be
> bits of boldoff-boldon between characters(?) of the pdf source I paste.
> -- 
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to