Underlined characters in button label?
Manuel Companys
mcompanys at mac.com
Sun Dec 29 20:36:01 EST 2002
Le dimanche, 29 dc 2002, 21:57 US/Central, Howard Bornstein a crit :
>> Is it possible to format button label text so that only a few letters
>> of the
>> label are underlined? It seems to be all or nothing, but I'd like to
>> be
>> able to have a standard button with a label like "black" with just
>> the bl
>> underlined.
>
> I don't think it's possible using the textStyle property of a button.
> You
> could create an image with the text the way you want it and then set
> the
> icon of the button to that image. It's more work but it'd give you what
> you were after.
If this partial styling of labels is wished in several cases; another
option is to create a font with the necessary stylized letters. I did
this for the regular text of HyperCard back in the time when no
styliwed text was available in the fields. But I never tried with
system X.
More information about the use-livecode
mailing list