Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid font color
Message
De
01/02/2004 06:48:23
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Grid font color
Divers
Thread ID:
00872757
Message ID:
00872757
Vues:
72
Who can help me?
How can I change the forecolor of the fonts in the grid by the value.
I entered the following code in the grid\cell\refresh but it's not working.
HERE IS THE CODE:
tv=left(allt(this.value),3)
do case
case len(tv)<3
	this.forecolor=rgb(255,255,255)
case tv='AAA'
	this.forecolor=rgb(255,255,128)
case tv='BBB' or tv='CCC'
	this.forecolor=rgb(255,0,0)
endcase
Thank you
Chaim
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform