Hi,
when I populate a wxListCtrl with a huge amount of entries, the repaint
of the control eats up a lot of time.
Is there a possibility to stop repainting until the control is filled?
Or any other tuning methods?
Thanks a lot,
Harald
Hi,
when I populate a wxListCtrl with a huge amount of entries, the repaint
of the control eats up a lot of time.
Is there a possibility to stop repainting until the control is filled?
Or any other tuning methods?
Thanks a lot,
Harald
Hi,
when I populate a wxListCtrl with a huge amount of entries, the repaint
of the control eats up a lot of time.Is there a possibility to stop repainting until the control is filled?
Or any other tuning methods?Thanks a lot,
Harald
Try to enclose your filling function between a Freeze(), Thaw() method calls:
the former stops the refresh, the latter re-enables it.
Bye,
Alberto
__________________________________________________________________
Tiscali Ricaricasa
la prima prepagata per navigare in Internet a meno di un'urbana e
risparmiare su tutte le tue telefonate. Acquistala on line e non avrai
nessun costo di attivazione né di ricarica!
http://ricaricasaonline.tiscali.it/
Thanks! But this only brings a slight speed improvement. I think it's
not only a refresh issue. The control itself seems to be rather slow
when adding data ...
Bye,
Harald
-----Ursprüngliche Nachricht-----
Von: wxpython-users-admin@lists.wxwindows.org
[mailto:wxpython-users-admin@lists.wxwindows.org] Im Auftrag
von albgrig@tiscali.it
Gesendet: Freitag, 13. September 2002 09:48
An: wxpython-users@lists.wxwindows.org
Betreff: RE: [wxPython] Speed up wxListCtrl>Hi,
>
>when I populate a wxListCtrl with a huge amount of entries,
the repaint
>of the control eats up a lot of time.
>
>Is there a possibility to stop repainting until the control
is filled?
>Or any other tuning methods?
>
>Thanks a lot,
>Harald
>Try to enclose your filling function between a Freeze(),
Thaw() method calls:
the former stops the refresh, the latter re-enables it.Bye,
Alberto__________________________________________________________________
Tiscali Ricaricasa
la prima prepagata per navigare in Internet a meno di un'urbana e
risparmiare su tutte le tue telefonate. Acquistala on line e non avrai
nessun costo di attivazione né di ricarica!
http://ricaricasaonline.tiscali.it/_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users
Try the virtual list control, there is a sample in the demo (or there was)
I had good success with it showing thousands of rows from db queries. It
was on 5-800mhz system though, YMMV.
----- Original Message -----
From: "Harald Schneider" <h_schneider@marketmix.com>
To: <wxpython-users@lists.wxwindows.org>
Sent: Thursday, September 12, 2002 11:49 PM
Subject: [wxPython] Speed up wxListCtrl
Hi,
when I populate a wxListCtrl with a huge amount of entries, the repaint
of the control eats up a lot of time.Is there a possibility to stop repainting until the control is filled?
Or any other tuning methods?Thanks a lot,
Harald_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users