>I have a app which I plan to distribute in vfp3 (for the 16bit'ers) and vfp5.
>
>I have done all my development in 3 and have found the port up to 5 really great. One niggle is that I have a grid with no horizontal scroll bar but a keypress event on the last column to reset the grid back to the first cell when the user presses enter.
>
>this.parent.parent.activatecell(1,1)
>
>In vfp3 this moves the focus back to the first column
>In vfp5 the focus moves to the first VISIBLE column.
>
>What should I do to correct this?
>Sarah
Hi Sarah,
To row 1, col 1 really ?
LPARAMETERS nColIndex
if lastkey() = 13 and ;
this.activecolumn = this.columncount
go top in (this.recordsource)
this.refresh
endif
Cetin