Posted by webmaster Guido on April 25, 2006
In Reply to Slow listbox in Delphi 7 program posted by William p15300 on
April 24, 2006
Call BeginUpdate before making changes to the items. When all changes are done, call EndUpdate to show the changes on screen.
ListBox1.Items.BeginUpdate; for i := 0 to ListBox1.Items.Count -1 do begin // Modify item number i // Remove or add characters,... end; ListBox1.Items.EndUpdate;
For a more detailed explanation, have a look at our tip Speed up the display of Delphi list components
Related Articles and Replies