Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid fonts color
Message
 
À
05/02/2004 04:41:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00873284
Message ID:
00874351
Vues:
48
OK:
HURRAY, now I understood you (after I run _genxtab on my table, because I never used it before)
FOR i = 1 TO thisform.GrdInvRes.ColumnCount
    ******
    **You must skip the columns that are not interesting
    ****
    dynamic_color = "IIF(xtabresult."+FIELD(i)+"='NEG',RGB(255,255,255),IIF(xtabresult."+FIELD(i)+" $ 'POS AGG',RGB(255,255,128),RGB(0,0,0)))"
    thisform.GrdInvRes.Columns(i).dynamicforecolor = dynamic_color
thisform.GrdInvRes.Refresh() 
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform