Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid's column ForeColor vs DynamicForeColor
Message
De
21/07/2004 14:04:58
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Grid's column ForeColor vs DynamicForeColor
Divers
Thread ID:
00926662
Message ID:
00926662
Vues:
63
Hi,

I have a grid where want to higlight in red all values shown in column 22 (which will hold the value for LF_ValLib), so in grid's init code I put:
This.Column22.ForeColor = Rgb (255, 0, 0)
but it doesn't work, i.e. all values are shown in dark. But if I put:
This.Column22.DynamicForeColor = "IIf (LF_ValLib <> 0, Rgb (255, 0, 0), Rgb (0, 0, 0))"
it works. Even if I put:
This.Column22.BackColor = Rgb (255, 0, 0)
it works. What am I doing wrong?

TIA,

Fernando

PS. VFP 8 SP1
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform