Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to change color in a grid
Message
 
À
02/06/2006 02:05:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01126675
Message ID:
01126679
Vues:
21
This message has been marked as the solution to the initial question of the thread.
>Hi all,
>
>i have a grid in a form filled with data. Now i want to change the backcolor or fontcolor depending on a certain status of that record. for ex an urgent task is put on red others are green.
>
>Is that possible and how is that done ?
>
>thnx
thisform.Grid1.SetAll([DynamicBackColor],[ICASE(MyTableMyField='URGENT',RGB(255,0,0),MyTableMyField='NOT SO URGENT',RGB(0,0,255),RGB(0,255,0))],[Column])
Check all Dynamic* propertied of Column object in HELP
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