LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programatically change background color of numeric indicator?

I need to change the bg color of some indicators depending on their values, how would I achieve this?
0 Kudos
Message 1 of 4
(10,463 Views)

Use the Text BG color Property Node as shown here. In my example, if the value is >4, it is green, else orange.

111.gif

Richard






Message 2 of 4
(10,460 Views)

Hi,

 

I tried using the NumText.BGColor property but it only changed some frame behind the numbers. How come?

It looks as if the text it marked but it isn't. I use LabVIEW 2010 sp1.

0 Kudos
Message 3 of 4
(9,760 Views)

Looks like there are two properties you have to change.

 

Numeric Text.Colors:BG Color

Numeric Text.Text Colors:BG Color

 

Either set them to the same color or make the first one transparent.  By the way, unless the Name Format is set to Long Names, these two properties appear to have the same name.  That is probably where the confusion is.

 

 

 

 

Randall Pursley
Message 4 of 4
(9,748 Views)