1
Answer

assigning a different text color to items in listbox

Photo of jindanl

jindanl

21y
1.8k
1
Hi, I have a ListBox I need to assign different colors to its items according to some conditions. I used the following code but it is not working: LBAccessSec.Items(i).Attributes.Add("style", "color:green") Thanks for help

Answers (1)