Home All Groups Group Topic Archive Search About

DBGrid Auto Scrolling with XP/SP2

Author
27 May 2005 8:27 PM
Terry Diederich
I have a VB6 app that uses the DBGrid32.ocx.  Under XP with Service Pack 2
when the user enters data into a cell and then moves to a different row, the
grid scrolls the rows up so the row that was just edited is the top row.
I'm only seeing this when running under XP/SP2.  With XP/SP1 the rows don't
move, they are not automatically scrolled.

Has anyone else seen this behavior?  Anyone know how to stop it?  I want the
app to work consistently regardless of whether it is running W98, XP/SP1, or
XP/SP2.

Thanks
Terry

Author
28 May 2005 4:39 PM
Stefan Berglund
On Fri, 27 May 2005 15:27:06 -0500, "Terry Diederich"
<terry@terrynospamdiederich.com> wrote:
in <Ouy2opvYFHA.***@TK2MSFTNGP10.phx.gbl>

>I have a VB6 app that uses the DBGrid32.ocx.  Under XP with Service Pack 2
>when the user enters data into a cell and then moves to a different row, the
>grid scrolls the rows up so the row that was just edited is the top row.
>I'm only seeing this when running under XP/SP2.  With XP/SP1 the rows don't
>move, they are not automatically scrolled.
>
>Has anyone else seen this behavior?  Anyone know how to stop it?  I want the
>app to work consistently regardless of whether it is running W98, XP/SP1, or
>XP/SP2.
>
>Thanks
>Terry
>

Then you'll need to find another OS vendor...

---
Stefan Berglund