Subject Re: Grids
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Tue, 25 Aug 2020 21:11:01 -0700
Newsgroups dbase.getting-started

On 8/25/2020 3:35 PM, Don wrote:
>
>
> Hello All
>
> Is there any way to move the focus/pointer in a grid
> programatically/without using the mouse?

Navigate in the table that is dataLinked to the grid.

form.rowset.next(5) would go forward five records, for example.

There are issues you might want to deal with , such as going beyond the
end of set:

form.rowset.next(5)
if form.rowset.endOfSet
    form.rowset.last() // last record
endif

Ken


--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm