Steve, The refresh shouldn't be doing this if it is on a single table. However if you are looking at a child table then what you may well be doing inadvertently is refreshing the parent, which will in turn reset the relationship and redisplay the child records again.
Somewhere in your code you are actually re-activating the equivalent of the "goto top" command. Dave Crozier -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Steve Ellenoff Sent: 23 July 2009 22:11 To: [email protected] Subject: Prevent Grid from scrolling to top on refresh? I have a grid on a form bound to a cursor. Let's say the cursor has 20 records, but the grid is sized to show only 10 at time. When you issue a refresh on the grid, the scroll bars are always reset to the top. *Is there a way to avoid this behavior so that if a user had scrolled to the middle, and the form needs to refresh, it doesn't move the view back to the top?* I've noticed that this unwanted behavior does not occur if the user changes the selected row/cell to something visible in the scrolled area before the refresh had occurred. Unfortunately, though, sometimes the users just scroll and so the selected row/cell stays at 1, but the user has scrolled to the bottom of the grid. As a solution, my gut feeling then is to somehow change the selected row/cell based on the scrolling event, but I'm not sure how to do this? Any ideas anyone on how to solve it properly? Thanks- Steve [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/9568c017f250424d96644f33a96b3...@develop ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

