HTMLtext in Label?

Peter W A Wood peterwawood at gmail.com
Sun May 11 00:18:18 EDT 2014


Hi Scott

This works for me in LiveCode 7 dp3:

	set the Label of Button "Button" to numToCodepoint(0x1D122)  ;; bass clef

Also pasting the correct character into the label field in the property inspector works under OS X (and may work on other systems too.)

I suspect the problem that you are encountering stems from U+0349 being a combining mark rather than a character in it's own right. From OS X character viewer:

	͉
COMBINING LEFT ANGLE BELOW
Unicode: U+0349, UTF-8: CD 89

This will display the left angle in the label of a button:

	set  the Label of Button "Button" to " " & numToCodepoint(0x0349)

Hope this helps.

Peter


On 11 May 2014, at 03:26, Scott Rossi wrote:

> Actually, I see there's a unicodeLabel property, which could work.
> 
> So if the Unicode number of the character in a font is U+03A9, how does
> one get this to render properly in a label?  I've tried various string
> combinations and uni-prefixed properties, but I continue to get Asian
> characters as the result.
> 
> Thanks & Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
> 
> 
> 
> 
> On 5/10/14 11:17 AM, I wrote:
> 
>> 
>> On 5/10/14 10:49 AM, "Richmond" <richmondmathewson at gmail.com> wrote:
>> 
>>> I can only assume that 'htmlText' is not a property of a label.
>> 
>> 
>> It's not.  It's a field property.
>> 
>> But I'm hoping someone may have found a way to pull this off.
>> 
>> Regards,
>> 
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX/UI Design
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list