>I have a procedure where I evaluate every field of the table and based on conditions cell or entire row should be painted in different color. when forms pops up grid should be colorful
Can you show your current code and what is not working?
Basically, you can do
thisform.grid1.column1.DynamicBackColor = "thisform.RefreshColors()"
and in the RefreshColors method of the form you would do
lnRGB = 0
do case
case Field1 = 'Something'
lnRGB = color number here
case AnotherField = 'SomethingElse'
lnRGB = different color number
endcase
return lnRGB
If it's not broken, fix it until it is.
My Blog