Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change backcolor of cell or row in grid based on conditi
Message
From
26/01/2017 13:02:05
 
 
To
26/01/2017 12:55:48
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01647037
Message ID:
01647040
Views:
70
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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform