From: Peter G. <pe...@pg...> - 2006-10-29 16:13:20
|
What I really need is a Virtual TextCtrl. There are two problems with the ListCtrl: a) I can't copy and paste from the control b) I sometimes need to highlight part of the line in a different colour. I can do this with the TextCtrl but not with the ListCtrl. Peter On Sun, 2006-10-29 at 08:48 -0700, Mike Schroeder wrote: > Assuming your data is in lines, why not use a Virtual ListCtrl? Fetch > the rows from the file that you need as you need them (maybe use IO::All > or one of the Tie modules). Do you *have* to have the entire 10 MB file > loaded into the TextCtrl at once? or could you just load what the user > is seeing at that point in time? > > > Peter Gordon wrote: > > Yes. I also tried Freeze/Thaw. It didn't help. > > > > On Sun, 2006-10-29 at 12:42 +0100, Manni Heumann wrote: > > > >> Did you try hiding the control before loading in the text? > >> > >> Peter Gordon wrote: > >> > >>> I have a 10MB file which I am trying to load using wxTextCtrl, and I am > >>> using wxPerl. > >>> > > |