🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.language.objectpascal
Article #115

Re: RichEdit Delete

#115
From: Marc Rohloff
Date: Mon, 26 Jan 2004 21:45
17 lines
1347 bytes
Peter Skinner wrote on Tue, 27 Jan 2004 10:38:10 +1300 ...

> I want to delete 4 lines from a RichEdit  so I do this
> Is there a quicker way to delete these lines...

RichEdit2.Lines.BeginUpdate;
try
>     RichEdit2.Lines.Delete(0);
>     RichEdit2.Lines.Delete(0);
>     RichEdit2.Lines.Delete(0);
>     RichEdit2.Lines.Delete(0);
finally
  richedit2.lines.endupdate;
end;

Marc Rohloff
marc rohloff at bigfoot dot com
Technical Details
Message-ID: <MPG.1a7f5479bfc3ba6c989d51@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-hog.berkeley.edu!ucberkeley!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <401588c3@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109d30,771f342994ba1d6c
X-Google-Attributes: gid109d30,public
X-Google-ArrivalTime: 2004-01-26 13:57:08 PST
From: Marc Rohloff <dont@mailme.com>
Newsgroups: borland.public.delphi.language.objectpascal
Subject: Re: RichEdit Delete
Date: Mon, 26 Jan 2004 16:45:21 -0500
Message-ID: <MPG.1a7f5479bfc3ba6c989d51@newsgroups.borland.com>
References: <401588c3@newsgroups.borland.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
X-Newsreader: MicroPlanet Gravity v2.60
NNTP-Posting-Host: 156.63.134.4
X-Trace: newsgroups.borland.com 1075153521 156.63.134.4 (26 Jan 2004 13:45:21 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-hog.berkeley.edu!ucberkeley!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail