Goofy font change question
Mark Waddingham
mark at livecode.com
Sat Dec 9 03:37:23 EST 2017
On 2017-12-09 09:33, Richmond Mathewson via use-livecode wrote:
> Can anyone tell me why this is not working?
>
> on menuPick PHONT
> switch PHONT
> set the unicodeText of fld "fff" to PHONT
> end switch
> end menuPick
>
> on mouseDown
> get the fontNames
> sort lines of it
> put it into btn "OM"
> set the label of me to "FONTS"
> end mouseDown
Without more context its hard to say - but you are using a switch
without any cases - which I don't think works.
Also, unless PHONT is UTF-16 data, then you should be using text, and
not unicodeText.
Warmest Regards,
Mark.
> Richmond.
> _______________________________________________
> 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
--
Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps
More information about the use-livecode
mailing list