LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

change background color for entire table

Solved!
Go to solution

Using the property node of a table, how do you change the background color for the entire table?

 

Thanks.

0 Kudos
Message 1 of 6
(3,461 Views)
Solution
Accepted by QRP

Check out the advanced help of the "ActiveCell" property:

 

The following table lists example values for this property.

RowColumnResult
–2 0 Selects all cells of the first column, including the column header.
–2 –2 Selects all rows and columns, including column headers.
–1 0 Selects the header of the first column.
–1 –2 Selects the headers of all columns.

 

Set the ActiveCell to -2,-2 then set the activecell -> cell background color

 

Is that what you are looking for?

Charles Chickering
Architecture is art with rules.

...and the rules are more like guidelines
Message 2 of 6
(3,444 Views)

Yep that worked great! Is there a way to turn off the selection within a table. I'm just using it for status only.

 

Thanks again.

0 Kudos
Message 3 of 6
(3,439 Views)

Are you using a table, or a multi-column list box?  By selection, do you mean a highlighted row?  If so, then I think you're using a multi-column listbox and you might be better off using a table indicator.  If I'm right, but you still want to use the multi-column listbox, try setting the Disabled property to 1 (Disabled).

0 Kudos
Message 4 of 6
(3,433 Views)

Try setting the "Disabled" property to "Disabled" or "Disabled and Greyed Out". Be mindful of the end user, they might like having the ability to select and copy/paste out of the table.

Charles Chickering
Architecture is art with rules.

...and the rules are more like guidelines
0 Kudos
Message 5 of 6
(3,430 Views)

Good point. Thanks a lot for your help.

0 Kudos
Message 6 of 6
(3,427 Views)