>hi to all experts
>i have one small problem
>in my form i use grid.i want to add color in cell conditionwise.
>i successed in grid column click events is working fine.but
>i want when grid refresh that time all cell value display & colorwise as per my condition .
>thanks for advance
You should use Dynamic... properties for effects like this.
This.Column1.DynamicBackColor = "IIF(myfield = somevalue, RGB(255,0,0), RGB(255,255,255))"
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison