Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid DynamicBackColor
Message
 
 
À
21/01/2008 22:27:51
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01283894
Message ID:
01283974
Vues:
14
>Trying to set the DynamicBackColor in a grid to a value in a cursor.
>
>
>MyCursor.Sch_BackColor = "RGB(111,222,333)"
>
>
>Hardcoded into the formula works:
>
>
>="IIF( .T., RGB(111,222,333), 0)"
>
>
>These do not:
>
>
>="IIF( .T., Sch_BackColor, 0)"
>="IIF( .T.," + TRANSFORM(Sch_BackColor) + ", 0)"
>="IIF( .T., EVAL(Sch_BackColor), 0)"
>
>
>How do I do this? Thanks!

If you would have Sch_BackColor as an integer, then simply DynamicBackColor = "MyCursor.Sch_BackColor" should work.

In your case it may be VAL(MyCursor.Sch_BackColor).
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform