[DUG] tMemo, Stop updating
Chee Wee Chua
CheeWee.Chua at codegear.com
Wed Aug 1 16:10:31 NZST 2007
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.
More information about the Delphi
mailing list