11-21-2012 02:56 AM - edited 11-21-2012 03:00 AM
Hi Guys, I am trying to reinitialize to the table default color, I can change the table cell color to the color I wanted, for example green. How to I initialize the tale cell color to default, white color. I tried the invoked node reinitialize to default, it only reset value of each cell, not cell background color. Using for loop to change all cell background color is too slow, I attached a vi that will use for loop and array to change cell background color. I want to figure out a way to reinitialize the table color altogether without using a for loop.
.
11-21-2012 03:04 AM - edited 11-21-2012 03:06 AM
Select the entire table by setting the row and column indices to -2 in the Active Cell property. Setting the cell background color will then act on the entire table, no need to go through every cell. See below:
11-21-2012 03:17 AM
Hi Gary,
You can do this through a property node, right-click the table on your front panel and create a property node, from there you can select active cell and background colour. I have attached an image to help you through the process.
11-21-2012 03:29 AM
amfax, he is already doing that in a for loop, but for each individual cell, a slow process. My solution sets the background of the entire table which I believe is what he wants.
11-21-2012 03:36 AM
Thanks a lot. It is working, it is really handy way to select all the cells in the table, I guess it is the same for multicolumn box.
11-21-2012 03:42 AM
NGC miss read his question, neat solution tho!