Grid scroll freeze up



I am working on an application that uses a grid and a timer which moves through the records to be displayed then starts again at the first record - a kind of automatic scroll. It works really well, except that after few refreshes it freezes. The blinking cursor stops blinking and the grid becomes static.

If I press a key or move the mouse at all it starts scrolling again.

I though it might be a control focus issue, but doing a setfocus before each refresh doesn't help.

I'm sure it must be easy to poke it into life again somehow programmatically, but I am struggling to find the way.

Any ideas?

BTW the timer also does a requery on several local views displayed in static grids. These are all refreshing perfectly. Just can't get the scrolling one to keep scrolling. Which is a pain as this needs to operate without user input for long periods displaying timing results from a motorsports event.

--

.



Relevant Pages

  • data grid scrolling issue
    ... I want the grid to ... keep on displaying the first column when scrolling allowing the user to ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • KeyPreview/KeyDown on TreeView control - Possible Bug?
    ... We have a dialog containing a treeview on the left displaying groups ... in the grid. ... Shift-F2 can still be intercepted by the form. ... We use F2 to rename a group within the tree, ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: How to debug a compiled exe
    ... I killed all DoEvents and replaced them with Sleep where necessary. ... My problem was that I was doing long doevent loops in which the app could do other things that it wanted to do. ... You can click on a cell in the grid, ... While it was still scrolling, ...
    (microsoft.public.vb.general.discussion)
  • Re: MSFlexGrid InFlexible
    ... My code produces a width of 4845 on my own machine, and it displays the grid with the first six coumns displayed exactly, each displaying its own vertical line at the right side. ... result returned by MSFlexGrid1.Width is also exactly 4755 twips. ... That's because 4815 is too small on my machine, probably because the overall width of the MSFlexGrid borders is different on my machine than it is on yours, most probably because I am running Vista. ...
    (microsoft.public.vb.general.discussion)
  • [ANN] GridView 1.9 (Best TStringGrid replacement)
    ... custom data in GRID or SLIDE style. ... Displaying data in different styles ...
    (borland.public.delphi.thirdpartytools.general)