Add a property to the grid class called nRecNo.
Put this in the grid class's init to highlight the current row in cyan.
This.nRecNo = RECNO( This.RecordSource )
This.SetAll( 'DynamicForeColor', ;
'IIF( RECNO( This.RecordSource ) = This.nRecNo, RGB( 0, 0, 128 ), RGB( 0, 0, 0 ) )', 'COLUMN' )
This.SetAll( 'DynamicBackColor', ;
'IIF( RECNO( This.RecordSource ) = This.nRecNo, RGB( 0,255,255 ), RGB( 255, 255, 255 ) )', 'COLUMN' )
and this in the AFterRowColChange:
WITH This
.nRecNo = RECNO( .RecordSource )
.Refresh()
ENDWITH
Marcia