Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set DynamicBackColor by Group
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP4
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
01003119
Message ID:
01003122
Vues:
19
Hi,
THISFORM.mygrid.SETALL("DYNAMICBACKCOLOR", "myfunc(UPSINO)", "COLUMN")

FUNCTION myfunc
LPARA tcUPSINO

DO CASE
CASE tcUPSINO = "00001"
   RETURN RGB(0,255,0) && Green
CASE tcUPSINO = "00002"
   RETURN RGB(255,255,255)
....
ENDCASE
HTH
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform