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 23:14:53
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00542012
Message ID:
00542119
Views:
18
>>>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.
>
>I can not explain. It just doesn't look right...


Er, well, can you tell me a bit more about what looks wrong? No problem if you're tired of this thread, but I'm really curious why EVAL() fails in DynamicBackColor assignment. Especially with there error it does of invalid property type. DynamicBackColor gets evaluated for each row, right? So, the "this.controlsource" would seem to be in scope.

What do you think of this: maybe the eval get's evaluated once when the control is initialized and then on subsequent evaluations (of dynamicbackcolor) the eval has been replaced by...hm. Well, then I'd expect the color to just get set to all whatever the first one was.

Guess it's one of life's little mysteries.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform