Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error with DynamicForeColor in Grid
Message
De
16/02/2003 12:30:09
 
 
À
16/02/2003 09:21:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00753833
Message ID:
00753896
Vues:
50
Hi Marcia,

The way I set it up was fine. In this case, grid1 is part on the sched1 container. I went thru the debug process, it seems like it doesn't like the value inside the IIF() function. It works fine, if I change the original code to the following.

This.Grid1.SetAll( "DynamicForeColor","8388608","COLUMN")
This.Grid1.SetAll( "DynamicBackColor","16777215","COLUMN")

and I got error with...


This.Grid1.SetAll( "DynamicForeColor","IIF(RECNO('Temp')This.p_RecNo, 8388608,0)","COLUMN")

This.Grid1.SetAll( "DynamicBackColor","IIF(RECNO('Temp')=This.p_RecNo, 12632256,16777215)","COLUMN")

Can you see why IIF() is incorrect? Thanks again
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform