hpesoj
09-04-2009 02:09:39
Hi,
I have found that when setting a high edit box max text length (I tried 100000) and adding a large amount of text, things run very slowly when using or moving the edit box. This is appreciable, and I will probably rarely need an edit box that long, but even when clearing the contents of the text box (edit->setOnlyText("")), the slowness persists. I also found that when clearing the contents of the edit box, the memory usage of my application shoots up by 2-3 MB! Have you got any idea why this could be?
Cheers,
Joe
I have found that when setting a high edit box max text length (I tried 100000) and adding a large amount of text, things run very slowly when using or moving the edit box. This is appreciable, and I will probably rarely need an edit box that long, but even when clearing the contents of the text box (edit->setOnlyText("")), the slowness persists. I also found that when clearing the contents of the edit box, the memory usage of my application shoots up by 2-3 MB! Have you got any idea why this could be?
Cheers,
Joe