LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

[simple question] mult color in a string

Dear all,

 I want to know how can I make one string with mult color?

For example,

 I love labview

thanks

Marco
====================
=Labview 7.0 & 8.0 & 8.5=
=====================
0 Kudos
Message 1 of 7
(3,352 Views)
I'm not sure you can do that. Try drawing colored text in a picture indicator.
0 Kudos
Message 2 of 7
(3,345 Views)

Hi Marco,

Like this?

"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
Message 3 of 7
(3,342 Views)

Yes, using the property node is the only way I have found too but is is a pain.  There is no easy way to make a bunch of constants like this without the cumbersome programming.  I have always hopes that NI would add a new string mode, one that had string markups like html where you could easily make a string with formatting but so far this has not happened.  I have in the past embedded a browser to accomplish this but it is not as elegant as a native solution.  It is still on my labview wishlist.

 

Paul

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 4 of 7
(3,324 Views)

Hi Paul,

You could answer your own wish by creating an X-Control that parses the data and formats the text as indicated.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 7
(3,314 Views)
Yes! Thanks
Marco
====================
=Labview 7.0 & 8.0 & 8.5=
=====================
0 Kudos
Message 6 of 7
(3,306 Views)
Here was my thoughts with the picture indicator.
Message 7 of 7
(3,287 Views)