Look at and use BeginUpdate and EndUpdate. Can't remember if it's a method of TMemo or a method of the TMemo.Lines property.
Best Regards, Chua, Chee Wee CCNA, MCSE, SCJP, SCSA, CodeGear(tm), from Borland Where developers matter www.codegear.com > I have a tMemo component with, lets say 5-10,000 lines. I > want to process through each of those lines updating certain > ones where necessary. > > for i := 0 to Memo1.lines.Count - 1 do > If (Memo1.lines[i] = 'I can use this line') then > DoThingsToTheLine; > > The problems is that I want to have the tMemo remain on the > form, but I don't want it to keep updating to try to keep up > with the current line that I'm processing. _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
