Hi Marcia,
I was trying to find your message how to determine Windows color scheme to use in highlighting (to append to your response), but didn't succeed. May be you can better find this message in yours? Or re-post it again, sorry?
I tried "grid selected" as my search parameter and you as a user...
>
I'd like to have a grid color an entire row say black on yellow that follows the recordmark on the grid.>
>Add a property called nRecNo to your grid class and initialize it to 0 in the propery sheet.
>
>This code in the grid's Init()
>
>
>This.nRecNo = RECNO( This.RecordSource )
>This.SetAll( 'DynamicBackColor', ;
> 'IIF( RECNO( This.RecordSource ) = This.nRecNo, RGB( 255, 255, 0 ), RGB( 255, 255, 255 ) )', 'COLUMN' )
>
>
>This is the grid's AfterRowColChange:
>
>
>Thisform.LockScreen = .T.
>This.nRecNo = RECNO( This.RecordSource )
>Thisform.Refresh()
>Thisform.LockScreen = .F.
>
If it's not broken, fix it until it is.
My Blog