Thanks for the tip Erik
This seems to work just fine. I don't know either.
Cheers from Oz. Is it warming up dowm your way yet?
Lynndon
···
-----Original Message-----
From: Erik Westra [SMTP:ewestra@wave.co.nz]
Sent: Thursday, 13 September 2001 13:35
To: wxpython-users@lists.wxwindows.org
Subject: Re: [wxPython] wxPython - wxGrid refreshingHi Lynndon,
I'm not at all qualified to fix your problem with wxGrid.SetData(), as
I've
never used it, but I may be able to help with this bit:>The forcerefresh method did not seem to work in refreshing the cell
contents
>either.I had the same problem with my own grids: calling wxGrid.Refresh() doesn't
seem to work. I got around it by doing the following instead:
myGrid.BeginBatch()
myGrid.EndBatch()This seemed to force the grid to redraw itself correctly. I've got no
idea
why calling Refresh() doesn't work, or why the above does -- but in my
app,
at least, this seems to work fine.Hope this helps...
- Erik.
_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users