Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic column colors
Message
De
16/08/2016 13:34:06
 
 
À
16/08/2016 12:19:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01639490
Message ID:
01639532
Vues:
65
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform