Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Different colors on ListBox items
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00112907
Message ID:
00113273
Views:
19
>Is there any way to have different items in a ListBox have different colors in VFP 5.0 or VFP 6.0?

Yes, You can have different colors for different items in listbox. Just do
the following.

DEFINE POPUP mypopup ......
DEFINE BAR 1 OF mypopup PROMPT 'One' COLOR RGB(.....)
DEFINE BAR 2 OF mypopup PROMPT 'Two' COLOR RGB(.....)
DEFINE BAR 3 OF mypopup PROMPT 'Three' COLOR RGB(.....)

Thisform.lstmulticolor.recordsourcetype = 9 && Popup
Thisform.lstmulticolor.recordsource = 'mypopup'


Bye
Jayesh
- Jayesh
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform