If you have sorting turned on and your modifying *heaps* of strings then it might pay to turn sorting off first and then back on afterward.
Just a random thought. Nahum. > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote on > > Hi again. > Here is a routine which seems to run really slowly - any ideas why? > and if so, what suggested solution tks, Al+ > > with FileListbox.Items do > begin > label1.caption:='Process - adding qualifiers'; > beginupdate; > for I := 0 to FileListbox.items.count-1 do > Strings[i]:=Strings[i]+'\*.*'; > endupdate; > end; > > -------------------------------------------------------------- > ------------- > New Zealand Delphi Users group - Delphi List - > [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/