BeforerowColChange() Valid() LostFocus() * cell change here Grid.RowColChanged(activeRow,activecol) * now continue standard VFP sequence When() Gotfocus() * dynamics expressions evaluated AfretRowColChange()A example used from many VFP developers:
* SetAll("dynamicBackColor","IIF(m.this.nRecNo%2=0,EVENCOLOR,ODDCOLOR)") procedure RowColChanged this.nRecNo = RECNO(m.this.recordsource) endproc * with this i'm ok withou any other action * with VFP8 i must PROCEDURE AfterRowColChange this.nRecNo = RECNO(m.this.recordsource) Grid::Refresh && this is a very slow down action * because dynamics expressions is reEvaluated and graphics is refreshed another time ENDPROCThanks