LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

changing the background color of array of strings

hello sir,

 

I want to change the background and font color of 50 Array of strings.

 

Thanks and Regards,

madhankumar.P

0 Kudos
Message 1 of 4
(3,080 Views)

Please be more specific about what you want.

 

Do you have 50 different controls or indicators which are arrays? Do you have one array with fifty elements?

 

Do you want to change the color once at development time or do you watn to change it programmatically while running?

 

Are you aware that all the elements of an array must have the same properties (such as background color)?  You cannot make the backgound of element 3 different from the background of element 0.  If that is the appearance you want, you can simulate part of it by making an array of clusters. One element of the cluster would be a color box indicator which would be placed behind a transparent string indicator.  You still could not change the text color on an element-by-element basis.

 

Lynn

0 Kudos
Message 2 of 4
(3,074 Views)

hello sir,

 Thanks for your reply that is array of strings with 50 elements.i want to change  the background color of all the elements.

0 Kudos
Message 3 of 4
(3,069 Views)

You still did not say if you want to do this programmatically at runtime. To change the color at edit time, simply use the coloring tool and the font selector. The number of elements is irrelevant, the changes will apply to all of them.

0 Kudos
Message 4 of 4
(3,067 Views)