(Mike Clay (MSFT))
11/26/2002 7:14:00 PM
Hey Dominick,
I'm assuming you are referring to a ListBox server control. If thats the
case, you can change the color of the text with the Style property:
ListBox1.Style.Add("color","yellow");
You can change the background color using the BackColor property:
ListBox1.BackColor = Color.Blue;
I'm not sure how to change the color of the line of the SelectedItem.....it
may require some client-side script. It would like to hear from others as
well if they have successfully done this.
Mike Clay, MCSD
Beta Technical Support
This posting is provided "AS IS" with no warranties, and confers no rights.
© 2002 Microsoft Corporation. All rights reserved.