Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox items color
Message
 
To
07/02/2002 10:27:42
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00616632
Message ID:
00616636
Views:
28
>is there any way to change the forecolor for one row in a listbox, without disabling it?

You can make the items colored if you use a popup as a RowSource.
DEFINE POPUP colorlist
DEFINE BAR 1 OF colorlist PROMPT "Red" COLOR ,RGB(255,0,0) 
DEFINE BAR 2 OF colorlist PROMPT "Green" COLOR ,RGB(0,255,0) 
DEFINE BAR 3 OF colorlist PROMPT "Blue" COLOR ,RGB(0,0,255) 

this.rowsourcetype = 9 && popup
this.rowsource = "colorlist"
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform