Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forecolor flexibility in grid
Message
De
15/01/1999 03:04:29
 
 
À
14/01/1999 23:21:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00176326
Message ID:
00176348
Vues:
34
Hi Peter.

It's possible to change the colour of fonts or whatever
in columns of Grid.

See Dynamicforecolor and DynamicBackColor.

For example

Grid.Column(n).Dynamicforecolor = ;
'IIF(myTbl.sum = 6 ,RGB(255,0,0),RGB(0,0,255))'

Grid.Column(n).DynamicBackcolor = ;
'IIF(myTbl.sum = 6 ,RGB(0,0,0),RGB(255,255,255))'

The code above would make column(n)'s font color RED
and back color BLACK if myTbl.sum is 6.

Good Luck .
OCP8 DBA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform