Screen "fuzz" during grid scrolling

Michael Hipp wrote:

I have a grid with several columns and about 2000 rows. When I hold down one of the movement keys (Up, Down, PgUp, PgDn) it scrolls fine, but the display can't seem to keep up so the grid turns to a fluidic jumble of horizontal lines.

I'm using Begin/End Batch around the calls like self.MoveCursorDown() but the calls are happening repeatedly so fast that it doesn't help.

Simple things like cursor movement are not what Begin/EndBatch were designed for, so I'm not surprised that they don't help.

Any simple way to smooth the scrolling?

Maybe get a better video card? :wink:

I've tried to duplicate this with the GridHugeTable module in the demo and haven't succeeded. On my Windows box it is able to keep up and there is no jumble at all. On my Linux box there is a little but of jumbled lines at the bottom of the window. On my Mac is is also able to keep up, but even if it couldn't I don't think it would get jumbled because of the way it is doing its own double buffering.

Do you have a custom table? Can the fetching of data values be optimized better than it is now?

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!