Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Color witin a gird
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2016
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01658871
Message ID:
01658876
Vues:
37
>Hello friends; How can I change the color background of a text (Grid1,Column1,Text1), within a grid, according to the value that is entered?Thank's a lot

Assuming that your grid's recordsource is already set as a cursor's alias, you could use something like this in the grid.Init method
This.Column1.DynamicForeColor = ;
[IIF(] + This.Column1.ControlSource + [ = yourvalue, RGB(255, 0, 0), ] + TRANSFORM(This.Column1.ForeColor) + [)]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform