>>Hello Everybody.
>>
>>since the DynamicBackColor (discussed in thread #
992235) does not seem to wok for me, is there a way to dynamicly change the backcolor of each cell in a grid based on its current value?
>>
>>thank you for your help in advance!
>
>Gunnar, something like this in the init of the grid would work for you?
>
>
>FOR EACH loColumn IN this.Columns
> lcCS = 'this.' + loColumn.Name + '.ControlSource'
> IF TYPE(EVALUATE(lcCS)) = 'N'
> loColumn.DynamicBackColor = [IIF(EVALUATE(] + lcCS + [) < 10, RGB(225, 128, 128), RGB(128,255,128))]
> ENDIF
>ENDFOR
>
Hello Hugo
This looks very close to Cetin's response, which is the one i am using now. i like the idea of calling a method (which i have been using in another area).
going through all the responses i've received, looks i was the only one noot knowing how to do this {ashamed smile}.
thank you for your help!