Preserve current row

I want to reload the content of my grid and to preserve the current row. Something like:

nRow:=Grid.CurrentRow;
?.
Grid.CurrentRow:=nRow;

How can I do this?

Thanks!

You can get the selected row with:

  sr := TMSFNCGrid1.Selection.StartRow;

You can restore the selected row with:
var
  cr: TTMSFNCGridCellRec;
begin
  cr.Col := 1;
  cr.Row := sr;
  TMSFNCGrid1.SelectCell(cr);
end;

Works as I want, however I do read/set the TopRow, too.

The selected row persistence is for keeping the current row, the TopRow is for scrolling to a certain row. Both can be used to preserve the view/selection state of the grid.