zuilin
October 18th, 2020, 23:13
I have set the <normal> font of my formattedtextfield in the XML and now I'd like to change it to a different font programatically, based on some conditions.
I can't figure out how to set the font on this control. .setFont() doesn't exist. I can't seem to reference the font property using any kind of dot notation.
How do I set the formattedtextfield font programatically?
Thanks.
I can't figure out how to set the font on this control. .setFont() doesn't exist. I can't seem to reference the font property using any kind of dot notation.
How do I set the formattedtextfield font programatically?
Thanks.