From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

boolean text multiple color

HI,

In my application, I have to change dynamicly the color of a part of the boolean text. I can change the color of the entire text but not the color of a part of the text. I use the property node with the property boolText.Selection and BoolText.Textcolor.
With the color manager in edit mode, I can have multiple color for that text, so I suppose it's also possible with property node !


can someone help me for this problem ?

Thanks in advance.

GHELEYNS Nicolas
Phénix Industries.
0 Kudos
Message 1 of 3
(2,260 Views)
Hi Nicolas

You just used the wrong property. Use BoolText.FontColor instead of BoolTest.TextColor.

I attach you a simple example that shows how it works.

Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 2 of 3
(2,255 Views)
Many thanks, it works great......



GHELEYNS Nicolas
0 Kudos
Message 3 of 3
(2,250 Views)