Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox changing color
Message
De
12/09/1997 16:57:09
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00049905
Message ID:
00049938
Vues:
45
>>>>>Hi. I can't seem to rid mylistbox of it's dull gray color and put in a color of my choice. I am attempting to do this in the modi class method.
>>>>
>>>>Never tried this, but I think you could play with Listbox.ColorScheme property.
>>>
>>>I've fooled around with that but it's having NO effect. I must have inadvertantly checked off some other feature that I shouldn't have?
>>
>>Please, excuse me, and disregard my previous replies, and use Listbox.ItemBack/ForeColor properties.
>
>Having some trouble applying this code.
>I tried
>thisform.myListbox1.ItemBackColor= "192,192,192" not to no avail.
>the properties panel only shows Listitem.

If you don't want to use Color Palette from Form Designer, you can set it code like Thisform.List.ItemBackColor=2344 && numeric (see 'Backcolor' article in Help for listing of available codes).
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform