Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fontcolor in grid column
Message
 
À
20/07/2005 08:54:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6 SP3
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Divers
Thread ID:
01034213
Message ID:
01034217
Vues:
17
>Dear Experts
>
>There is a variable nvalue=30 and grid has three columns. One columm has values as
>
>30
>25
>30
>30
>22
>30
>
>I want values less than variable value ,30, with RED Forecolor.
>The Forecolor of other values will be Blue.
>
>Please help
FOR EACH oColumn IN thisform.Grid1.Column
    oColumn.DynamicForeColor = "IIF("+oColumn.ControlSource+" < m.lnValue, RGB(255,0,0), RGB(0,0,255))"
ENDFOR
(not tested)
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