Assigning a different text color to items in listbox
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
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

send2manivannanRank #8,059 · 229 reputationPosted May 19, 2004, 1:09 AM EDT