* Highlight 2 and 4th columns of grid. * Grid.init WITH this IF !empty(.RecordSource) .nCurRec = recno(this.RecordSource) cBkColor = "IIF(RecNo(This.RecordSource) = This.nCurRec," + ; str(this.cCurRecBackColor)+","+str(this.BackColor)+")" cFrColor = "IIF(RecNo(This.RecordSource) = This.nCurRec," + ; str(this.cCurRecForeColor)+","+str(this.ForeColor)+")" this.columns(2).dynamicbackcolor = cBkColor this.columns(4).dynamicbackcolor = cBkColor this.columns(2).dynamicforecolor = cFrColor this.columns(4).dynamicforecolor = cFrColor ENDIF ENDWITH * Columns(2) and columns(4).text1.gotfocus with this.parent.parent this.backcolor = .cCurRecBackColor this.selectedbackcolor = .cCurRecBackColor this.forecolor = .cCurRecForeColor this.selectedforecolor = .cCurRecForeColor endwith * Columns(2) and columns(4).text1.lostfocus this.resettodefault("backcolor") this.resettodefault("selectedbackcolor") this.resettodefault("forecolor") this.resettodefault("selectedforecolor")Cetin