Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox changing color
Message
 
To
12/09/1997 16:57:09
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00049905
Message ID:
00049947
Views:
60
>>>>>>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).

ok, GOT IT, THANKS
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Previous
Reply
Map
View

Click here to load this message in the networking platform