TAdvStringGrid RowSelect loses horizontal scroll position


I have a TAdvStringGrid which has numerous columns, goRowSelect = TRUE.

When I am scrolled over to the right, when I change rows the grid is scrolled to the first column on the left - thus losing my position in the grid (which is really annoying)

I have tried setting HideFocusRect in case the first cell in the row was being focused, but this did not solve the problem.

How can I retain the horizontal scroll position when changing row selection?


Can you try to set grid.Navigation.KeepHorizScroll = true?

That worked - thanks Bruno.