>
>This only picks up the red - no green. :(
>
>It seems I can do one or the other but not both.
>
>Any suggestions?
I've tried this:
dime naColors(3)
naColors(1)=rgb(255,255,255)
naColors(2)=rgb(255,255,127)
naColors(3)=rgb(255,144,255)
and later, in the grid
.dynamicbackcolor="naColors(nColorCode)"
In my case, the nField always has valued 1 to 3; in your case, you may be using a cursor where an additional field nColorCode may be added to contain just such numbers, like this:
replace all nColorcode with IIF(alias.changed, 2, IIF(alias.rdelete, 3, 1))
Of course, you may use your colors. In my case it worked real nice and fast (and my video card is just a S3 Trio, no particular champion of speed).