07-17-2013 01:42 AM
Hello all,
I am not able to change the background color of list box pragmatically but manually it is changing. Don't know what is going wrong.
Attaching VI for reference.
Thanks
07-17-2013 01:57 AM
You need to expand the node to include the property "Active Row", and wire an input to that to change the CellBG colour.
07-17-2013 02:11 AM - edited 07-17-2013 02:12 AM
See carefully it is that only, if not change the VI.
07-17-2013 02:34 AM
If the Active Row property is set anywhere previously in the VI, even in a previous run, you'll be able to change the colour of that cell using CellBG on execution of the code. If you want to change the colour of a specific row, you have to declare which row you're trying to change. If you want to change the background of all the cells programmatically, you'll have to do something like the following:
07-17-2013 03:00 AM
Thanks it works fine. That means when all the active sensor is same color then only it will change the background color.