How to detect scroll bar movement

Hi


What I would like to do is ensure that the selected row in the grid is always visible. i.e. If I scroll up and down I want the selected row to keep in synch with the vertical scroll bar and always visible.

Obviously to be able to do this I have to detect when the scroll bar has been clicked but I can't find a callback that I can use to detect if the scroll bars have been clicked and what rows are now visible.

Any ideas please?

Bruce.


The grid.OnTopLeftChanged event is triggered when the grid's scroll position changed.

Thanks for the info!