Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I dynamically change one cell in a grid?
Message
From
09/08/2001 19:57:11
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00542012
Message ID:
00542079
Views:
26
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform