LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically reset BG colors in a MultiColumn List Box

Hi there,
 
I'm looking for an appropriate way of resetting the background colors of all cells within my listbox at once if possible. Using the Reset to Default invoke node reset the contents, but not the colors. I'd like to avoid setting all the cells to active cell sequentially and setting color afterwards.....
 
Any Ideas?
 
Cheers
Oli
 
0 Kudos
Message 1 of 3
(5,237 Views)
You can do it in up to 3 steps.  If you aren't showing your row headers, you can take off the last step.  Make sure you wire the error clusters so it does it in the right order.  Seems 8.5 removed this from the context help, but a -2 indicates all rows or columns, so the first steo selects every cell in the table and sets it to white.  -1 means the row or column headers.  So in the second step, it selects the column header for all columns.  The third step selects the row header for all rows.  Both set the color to Classic Object.




Message Edited by Matthew Kelton on 02-19-2008 09:56 AM
Message 2 of 3
(5,229 Views)

Hi Matthew,

worked perfectly! Smiley Happy

Thank you very much!

Oli

0 Kudos
Message 3 of 3
(5,202 Views)