Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can every other line of a list box be a different color?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00237037
Message ID:
00237074
Views:
23
>I did the search, but nothing found under this subject. Is there a sample code anywhere that I could use...
>
Mike

You have to go back to 98 and the first 6 mos of 99 -- but here is some code from Christof...
Define Popup Junk

Define Bar 1 of Junk Prompt "Text for Row 1" Font "Arial",10 Style "I"
Define Bar 2 of Junk Prompt "Text for Row 2"Arial",24 Style "B" Color ,RGB(0,255,0,255,255,255) && Green over white
Define Bar 3 of Junk Prompt "Text for Row 3","Arial",16 Color ,RGB(255,0,0,255,255,128) && red over yellow

This.RowSource = "Junk"
This.RowSourceType = 9

This.Requery 
Take a look at the help topic for illustration of how to define the various elements of the popup -- including teh fore/back colors.

regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform