>Now, what was the condition for a DynamicForeColor() or DynamicBackColor(), for highlighting the current row in a grid? recno() = ???
>
>It seems to me that I have to save the current record number to a form property every time the user changes to another record - is there a simpler alternative?
>
>TIA,
>
>Hilmar.
Just use HighlightStyle (new property in VFP9) to do it automatically.
Otherwise you need to have either form or grid property to save current row.
If it's not broken, fix it until it is.
My Blog