Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I dynamically change one cell in a grid?
Message
De
09/08/2001 19:57:11
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00542012
Message ID:
00542079
Vues:
23
>I've realized on the way home in train, that eval(this.controlsource) was your problem.

Really? But why? It's evaluated, as I believe I mentioned, in the method call just fine.

> If I would write it in code, I would put:
>this.DynamicBackColor="thisform.MyBackColor("+this.ControlSource+")"

Boy, it's a day of confusion for me. What is the plus-sign delimiters for?

>I don't see a way to do in a property sheet.

Nor in code. With an EVAL(). If I made the assignment to DynamicBackColor in the grid init, VFP still complained. I had to just give up on the EVAL(). I think it's something about how EVALs are evaluated, but it's just out of reach in my memory.

> However, you can put thisform.MyColor(MyTable.MyField), if you know the field name. I allways do it in a code, but it's not necessary, as you fairy noted.

Right. Best to try it before saying for sure.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform