Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can every other line of a list box be a different color?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00237037
Message ID:
00237074
Vues:
32
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform