General information
Category:
Forms & Form designer
>>>>>>>How to select the Listbox highlight color of my choice.??
>>>>>>>thanks
>>>>>>
>>>>>>Set
>>>>>>SelectedItemBackColor Property
>>>>>>
>>>>>>and
>>>>>>
>>>>>>SelectedItemForeColor Property
>>>>>
>>>>>listbox: selecteditemforecolor or selecteditembackcolor are my choices.
>>>>
>>>>Yes, exactly.
>>>
>>>It's being set somewhere else and not in my class definition.
>>>Is there not a property to set the listbox's plain old backcolor?
>>
>>For highlighting the current item the above mentioned properties should be used. What exactly do you mean by plain old BackColor?
>
>Just the backcolor of the listbox whether there are items in it or not.
Does itembackcolor and itemforecolor do what you need?
they set the background and text colors for the list box and then you can use the selecteditem properties.
Sammie
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only