Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listviews and colors
Message
 
À
28/05/2011 20:52:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01512176
Message ID:
01512248
Vues:
54
If I understood the question correctly, then I cannot do it from either the Properties Sheet directly nor the ActiveX Properties (did not test PEM Editor thou), but you can do it from the init of the ListView
ListView1.Init()
this.ForeColor	= RGB(  0, 192, 192)
this.BackColor	= RGB(192, 192, 192)
* (Those colors look terrible together)

[Update]
From PEM Editor works fine!
[/Update]

>Can anybody provide any assistance on how to set foreground and background colors in a ListView?
>
>The only thing I have been successful at is to be able to set the font as Bold.
>
>Thanks
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform