LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

change the background of one control in an array of clusters

I have a cluster within an array and I would like to programatically change the background of one of the controls based on its value.
0 Kudos
Message 1 of 3
(2,567 Views)
first just right click on the control that you want to change the background for then create a property node for that control. Set the property node as follows:

numeric text/text colors/bg.

see example.

I hope this helps you out.

Joe



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 2 of 3
(2,567 Views)
> I have a cluster within an array and I would like to programatically
> change the background of one of the controls based on its value.

Arrays have a single item that they move from cell to cell. The cells
can have different values, but they cannot have different properties
otherwise. In otherwords, setting a property will affect all of the
cells at once.

The solution is to put a color numeric, Color Ramp, Ring, or something
behind the other objects in the cluster. This is now part of the data
and all you have to do before displaying is to run the original array of
clusters through a function that computes colors and puts the value into
the output array of clusters.

Greg McKaskle
Message 3 of 3
(2,567 Views)