>Is there a way to change the BackColor of an individual cell in a grid.
>I'm able to change to BackColor of an entire row or column, but not an
>individual cell.
>any help is greatly appreciated. Please reply to:
>or to this group. Thanks in advance.
try this:
in event gotfocus only! in grid1.column1.text1 write:
ThisForm.Grid1.SetAll("DynamicBackColor","IIF(ThisForm.Grid1.ActiveRow/ThisF
orm.Grid1.ActiveRow=1,RGB(0,0,128), RGB(255,255,255))", "Column")
ThisForm.Grid1.SetAll("DynamicForeColor","IIF(ThisForm.Grid1.ActiveRow/ThisF
orm.Grid1.ActiveRow=1,RGB(255,255,255), RGB(0,0,0))", "Column")
this code change color of row which have a focus