Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic column colors
Message
From
16/08/2016 13:34:06
 
 
To
16/08/2016 12:19:49
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01639490
Message ID:
01639532
Views:
70
>Antonio - this is the code you sent that works fine:
>
This.HighlightForeColor = EVALUATE(This.Columns[1].DynamicForeColor)
>
>What would I have to change in it to call it from the child grid, if something changes in the data there to make the color in the parent grid change?
>
>I have tried changing it to:
>
Thisform.grid1.HighlightForeColor = EVALUATE(Thisform.grid1.Columns[1].DynamicForeColor),
>But that gives an error..
>
>Thanks for the help!

I hope it's not because of that extra comma at the end!

Now, seriously, you'll have to guide me on this: you have two grids, right? When you say "if something changes in the data [of the child grid]", do you mean changes in data values or user moved to a different row?

Could you describe more precisely what kind of changes are you considering in the child grid (I'll assume it is grid2), and what kind of visual effects do you pretend to implement in the parent grid (I'll assume it is grid1).
----------------------------------
António Tavares Lopes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform