FG Spreadshirt Swag
  1. #1

    Set formattedtextfield font programatically?

    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.

  2. #2
    You cannot. Formatted text field font definitions can only be done in the XML.

    Regards,
    JPG

  3. #3
    I guess place an invisible one with a different font def and switch.

    Thanks.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
5E Product Walkthrough Playlist

Log in

Log in