Create a form level variable inRecNo and make the initial value to 0 (Zero). In my previous posting, I forgot to mention this.
====================================================
MyGird.InitEvent
DODEFAULT()
WITH THIS
.SetAll("DynamicBackColor", ;
"IIF(recno(This.RecordSource)=THIS.inRecno, ;
RGB(0,255,0),RGB(255,255,192))","COLUMN"

ENDWITH
**EOF
====================================================
MyGrid.WhenEvent
This.inRecNo = RECNO()
RETURN .T.
====================================================
When the above codes are used in the said events of the grid control, the selected row will get the highlight.
This idea will help you to manipulate the colours ina similar way, as you want it.
ramani :-9
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com