LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use different font styles in the same boolean text?

Hi all,

As reported here http://digital.ni.com/public.nsf/allkb/6BD344ACA4DEE20A8625692700737E16, it is possible to change font color, size or other font properties of a subtext in a string indicator. This can be applied to a caption too.

I'd like to apply this properties to a boolean text but it does not work. The boolean control has the Text.selectionStart and End property node but it does not appear to function.

 

Can you help me?

 

Thanks all

0 Kudos
Message 1 of 5
(2,983 Views)

This is a bug in the development environment (I think it showed up around LV8).

There's a workaround, but it seems to work intermittently: Place some floating text on your front panel, then edit it's font styles.  Select and copy the floating text.  Select the boolean text (double click on it).  Paste.

"If you weren't supposed to push it, it wouldn't be a button."
Message 2 of 5
(2,968 Views)

With this workaround it works. Thanks

So, due to this bug, there is no way to do it programmatically. Right? 😞

 

Thanks

Andrea

0 Kudos
Message 3 of 5
(2,960 Views)

I haven't been able to find a way to do it programatically.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 4 of 5
(2,932 Views)

Apparently this is still an issue with LabVIEW 2018 and 2019.

0 Kudos
Message 5 of 5
(2,003 Views)