Cetin,
Where are you putting this code?
>Unfortunately this is part of a framework with a poor debugger I spent quite time with no success yet.
>Other then lockscreen what may be causing this dynamicbackcolor expression behave strange :
>
this.setall("DynamicBackColor",;
> "iif(recno(this.recordsource)=this.nCurRec,YELLOW,WHITE)",;
> "Column")
-Grid is on a "child" pageframe, parent is a view, grid is a table.
>-When it first shows up all rows are YELLOW.
>-When it gets focus everything is normal.
>-If I go to just another form and come back again all rows are painted to YELLOW ???
>-I already tried overriding "activate" for form and pages.
>-The same framework, same class grid behave normally where parent is not a view ???
>-In all cases parent's buffering 3 and child grid recsource 5.
>TIA
>Cetin
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05