Slow listbox in Delphi 7 program

Posted by William p15300 on April 24, 2006

Hi,
I have a listbox in my Delphi 7 program, that I load from a file, and then it contains several thousands of lines of 5 words. I remove words from each line in 4 steps, so that afterwards only the second word of each lines stays. But this terribly slow, because each time Delphi rewrites all of the lines. Is there a trick to modify all the lines and only afterwards display the results when all is done?

Related Articles and Replies