‎10-16-2025 09:27 AM - edited ‎10-16-2025 09:29 AM
I would like to change the background color of my String Indicator in the Block Diagram. I used the correct porcedure - via the property node - text - colors - BG color. But instead of changing the color of the entire indicator field, only the frame color changes (see image). I am using LabVIEW 2019 SP1, maybe it has something to do with the version I'm using? Thank you for helping!
Solved! Go to Solution.
‎10-16-2025 09:54 AM
@adrianslab99 wrote:
I would like to change the background color of my String Indicator in the Block Diagram. I used the correct porcedure - via the property node - text - colors - BG color. But instead of changing the color of the entire indicator field, only the frame color changes (see image). I am using LabVIEW 2019 SP1, maybe it has something to do with the version I'm using? Thank you for helping!
Do you use "Text.Colors" or do you use "Text.Text Colors"? You have to use the second one.
Setting the background color on system controls will not work.
‎10-16-2025 11:06 AM
I strongly suggest that you attach the actual String Indicator (so we can "play with it" and maybe even suggest how you can write a little bit of code in LabVIEW to programmatically change its appearance. Obviously, if you only provide us with a "picture" of your control, we can't (easily) "reverse-engineer it" to its LabVIEW representation (I'm assuming you don't know about snippets).
Bob Schor
‎10-16-2025 11:25 AM - edited ‎10-16-2025 11:28 AM
@adrianslab99 wrote:
I used the correct porcedure - via the property node - text - colors - BG color.
There are two different [Text.BGColor] properties and you can only distinguish them when showing long names for the properties. In your case, the font has a grey background color, so you are NOT doing it right. 😄
Make sure the text.text background is transparent.
‎10-16-2025 11:40 AM
‎10-17-2025 06:50 AM
That was it, thanks for the help! So easy in the end...