Answered
ListBox ScriptUI question...
Hi there,
Please can someone help.
I've created an ListBox that works fine and displays the list passed to it.
I'm trying to change the row colour but haven't succeeded yet.
Here's a snippet of the code:
var xxx;
var y = namesArr[k].split(" - ")
var xxx = myList.add ("item", (k+1))
{
xxx.subItems[0].text = y[0];
xxx.subItems[1].text = y[1];
xxx.subItems[2].text = y[2];
xxx.subItems[3].text = y[3];
xxx.subItems[4].text = y[4];
}
xxx.graphics.backgroundColor = xxx.graphics.newBrush (xxx.graphics.BrushType.SOLID_COLOR,[0.37, 0.37, 0.37],1);
}Please can someone point me in the right directon.
Thank you.
