>Hi All, > >I set a grid recordsource to a cursor. The grid can show 9 lines max (for example). Initially I want to show the grid with the last cursor record in the center line position. How can that be done?
If I remember correctly:
yourform.lockscreen=.F.
gobottomin curgrid
local lnOldHeight
lnOldHeight = yourgrid.height
yourgrid.height = 15 && You may need to check another value
yourgrid.height = lnOldHeight
yourform.lockscreen=.F.