Author Topic: basic label or other help  (Read 525 times)

NotGnu

  • Newbie
  • *
  • Posts: 4
    • View Profile
basic label or other help
« on: January 17, 2024, 11:16:50 AM »
I'm trying to make a square indicator change colors like I like based off a boolean value. (currently am able to do)
I would like the text to change from 'OK' in black font or 'Not OK' in white font. - need help doing. I can change it to true/false, 1/0, et all on the basic label.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI

NotGnu

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: basic label or other help
« Reply #2 on: January 19, 2024, 03:33:28 PM »
Thank you very much for the quick reply.
It worked perfectly.
But, I am having trouble changing the background and text color.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: basic label or other help
« Reply #3 on: January 20, 2024, 11:34:05 AM »
Use HighlightColor, HighlightForecolor, and PLCAddressHighlight

NotGnu

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: basic label or other help
« Reply #4 on: January 20, 2024, 01:42:37 PM »
Thank you so much.
If I lose you, I am effed.