Hi Craig,
Thanks for responding to my request for help! I would have emailed you earlier
but my work has kept me away from coding. I tried the following:
set the styledText of customProperties[uMyLabel] of button check1ps to
“bold
But that doesn’t not work. I have a six words in a custom
Charles Szasz wrote:
set the styledText of customProperties[uMyLabel] of button
check1ps to “bold
But that doesn’t not work.
The textStyle is a property of objects, or of chunks of text in a field,
but the values stored in custom properties are just raw data, so they
have no properties of
I don’t think you can set the properties of a property like that. Also, I was
under the impression that styledText is a field property and not one that
belonged to a button. In fact the dictionary says, set the styledText of field
to styledArray” indicating that it can only be used with a
uurp sorry too many beer. I forgot to tell you what to do with the styled
text once you put the text into a field and set the styledText to that. Put the
htmlText of the field into your property. You might be able to use rtfText as
well, but you can do wonderful things with htmlText like embed
Hi.
The styledText or the htmlText should preserve the style. Run a few
experiments.
Craig
-Original Message-
From: Charles Szasz csz...@me.com
To: use-livecode use-livecode@lists.runrev.com
Sent: Thu, Feb 13, 2014 3:07 pm
Subject: Setting the textStyle of content of custom