Dear Bhavbhuti
Try setting the backcolor of the grid to the same as the form, then in the Refresh of the grid, try SetAll( DynamicBackColor ) for all columns to the desired backcolor, based on something like (!empty(somefield)), like in:
This.SetAll( "DynamicBackColor", 'IIF(!EMPTY(SomeAlias.SomeField, RGB(255,255,255), RGB(192,192,192))',"Column" )
HTH
Jaime
>Hi all
>
>I want the grid to have the background color of the form, good using backcolor.
>
>But I also want the rows containing record revert to the default white color.
>
>Right now IMO the grid looks like a white patch I want to reduce the pacth limited to only the area containing records.
>
>Please advise.
Why do programs stop working correctly as soon as you leave the Fox?