Re: Phil Russell -- EuGrid Redraw problem?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Have you tried refreshWindow(theGrid)? I'm not sure if it'll work, but its
worth a shot.

----------------
cheers,
Derek Parnell
----- Original Message -----
From: "Andy Serpa" <renegade at earthling.net>
To: "EUforum" <EUforum at topica.com>
Subject: Phil Russell -- EuGrid Redraw problem?


>
> First of all, let me just say what a lifesaver your EuGrid control is.
> You definitely have some Eu bucks coming your way. [$3 in fake money for
> a year of work -- not bad :) ]
>
> Anyway, here's my issue:
>
> I've made a program that uses a grid more or less as a display with no
> user interaction.  Every so many seconds, a timer causes it to do some
> internal stuff (grabs stuff from internet in the background and
> processes it) and then update the grid.  (The data can change rather
> radically on an update, so I just delete all the rows, then LoadData
> with the modified dataset on each update.  It also uses an event handler
> to change cell colors, etc.)  All that works fine, BUT the grid doesn't
> actually update itself visually unless something "happens", like a
> change of focus (specifically loss of focus of the main window, but not
> vice-versa), mouse click on the grid, etc.
>
> Problem is, the program is designed to just be "watched" (it is sort of
> like a stock-ticker), not interacted with.  If you don't touch anything,
> the grid never updates, but then if you click the mouse on it or
> something, suddenly it redraws and everything is there as it should be.
>
> How can I get it to redraw automatically when the underlying data
> changes?
>
>
>
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu