RE: Prevent Grid from scrolling to top on refresh?

2009-07-24 Thread Eurico Chagas Filho
Hi I do a grid.refresh() and then a grid.setfocus(), it works for me. HTH, E. ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/pr

Re: Prevent Grid from scrolling to top on refresh?

2009-07-24 Thread MB Software Solutions, LLC
Dave Crozier wrote: > 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. >

RE: Prevent Grid from scrolling to top on refresh?

2009-07-24 Thread Dave Crozier
e you are actually re-activating the equivalent of the "goto top" command. Dave Crozier -Original Message- From: profox-boun...@leafe.com [mailto:profox-boun...@leafe.com] On Behalf Of Steve Ellenoff Sent: 23 July 2009 22:11 To: profox@leafe.com Subject: Prevent Grid from scro

Re: Prevent Grid from scrolling to top on refresh?

2009-07-23 Thread MB Software Solutions, LLC
Steve Ellenoff wrote: > 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 us

Prevent Grid from scrolling to top on refresh?

2009-07-23 Thread Steve Ellenoff
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,