Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listviews and colors
Message
 
To
28/05/2011 20:52:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01512176
Message ID:
01512248
Views:
53
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
Previous
Reply
Map
View

Click here to load this message in the networking platform