This method belongs to Walter Meester and works fine:
local nHeight
thisform.lockscreen=.t.
with this
nHeight = .height
.height = .headerheight + .rowheight
.refresh
.height=m.nHeight
endwith
thisform.lockscreen=.f.
>I have a grid bound to a table.
>
>When I do a search in the table, and the record is found,
>I do a refresh on the grid, and the grid now displays the
>record.
>
>Except that the record I want is never the 1st record
>displayed in the grid. Anyone know how to position a
>specific record in grid row 1?
>
>Thanks
If it's not broken, fix it until it is.
My Blog