Would something like this work
This.oGrid.SetAll('DynamicBackColor', ;
'iif(recno(this.oGrid.recordsource) = lnFoundRecord, ;
rgb(0,0,128),rgb(255,255,255))','Column')
hth
>I thought I knew how to do this, but..
>
>I've got a form with a grid. I have a modal form ontop of it that is changing the record pointer (a find dialog). How can I get an any color to appear over the record I'm now on. How would I complete this code from the INIT of the Find Dialog:
>
>
This.oGrid.SetAll('DynamicBackColor','iif(lCurrentRecord,rgb(0,0,128),rgb(255,255,255))','Column')
And then I reset it unconditionally on destroy.
Roi
'MCP' Visual FoxPro
In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!