Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change backcolor of cell or row in grid based on conditi
Message
De
26/01/2017 13:02:05
 
 
À
26/01/2017 12:55:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01647037
Message ID:
01647040
Vues:
71
So I understood your demand correctly
procedure grid.Init
local oCol as Column
for each oCol in this.columns foxobject
  oCol.dynamicBackColor = textmerge([iif(fdateField > date() - daysHistory, <<rgb(rr1,gg1,bb1)>>, <<rgb(rr2,gg2,bb2)>>)]) && expand rgb() so that it's not calculated on each row
endfor
>hi All,
>
>I believe my question was worded poorly and may have been misunderstood.
>
>I would like to change the "Backcolor" of a cell or a row of cells with in a grid based on a condition.
>
>to be more specific the condition is date evaluation.
>
>any suggestions?
>
>thank you
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/
Never explain, never complain (Queen Elizabeth II)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform