Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox highlight color
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01425758
Message ID:
01425792
Vues:
35
>>>>>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform