Forum Moderators: open

Message Too Old, No Replies

listbox background color

different per item possible?

         

mcavill

9:07 am on May 30, 2004 (gmt 0)

10+ Year Member



Is it possible to change the backgound color per item in a listbox.

I only seem able to set the color for the whole listbox rather than an individual item - I was hoping something like:

ListBox1.Items(i).BackColor = Color.Green

would do the job, but no luck....anyone have any suggestions?

mattglet

1:22 pm on May 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



check the JavaScript forum... you might have some better luck.

-Matt

mcavill

10:56 am on May 31, 2004 (gmt 0)

10+ Year Member



thanks for the suggestion - it's a vb.net application, so I cannot use JS, I'm guessing it's not possible...