AdvancedHMI Software

General Category => Support Questions => Topic started by: NotGnu on January 17, 2024, 11:16:50 AM

Title: basic label or other help
Post by: NotGnu 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.
Title: Re: basic label or other help
Post by: Archie on January 17, 2024, 11:25:52 AM
See this:

https://www.advancedhmi.com/forum/index.php?topic=2866.msg17043#msg17043
Title: Re: basic label or other help
Post by: NotGnu 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.
Title: Re: basic label or other help
Post by: Archie on January 20, 2024, 11:34:05 AM
Use HighlightColor, HighlightForecolor, and PLCAddressHighlight
Title: Re: basic label or other help
Post by: NotGnu on January 20, 2024, 01:42:37 PM
Thank you so much.
If I lose you, I am effed.