[DUG] Copying text
Eion McIntosh (Christchurch)
e.mcIntosh at ppcs.co.nz
Tue Jun 7 16:32:02 NZST 2005
Been given if now thanks in the form
Memo1.Lines.Assign(Richedit.Lines)
Regards
Eion McIntosh
PPCS Ltd
-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz]On Behalf Of Matt Comb
Sent: Tuesday, June 07, 2005 4:23 PM
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Copying text
mycomponent.stringlist.Text:=richedit1.Lines.Text ?
Or have I missed the problem?
Matt.
----- Original Message -----
From: Eion <mailto:e.mcIntosh at ppcs.co.nz> McIntosh (Christchurch)
To: delphi at ns3.123.co.nz
Sent: Tuesday, June 07, 2005 4:08 PM
Subject: [DUG] Copying text
Hi
I don't know if I'm being a bit dense today after the long weekend, but I'm trying to remember the easiest way to copy text from a TRichedit component to the component with the text defined as TStringlist.
I can do it by saving it to a text file and then loaded it into the component with Loadfromfile, but takes a bit more time and I'm getting problem with cache flushing the as latest savde detail its always the one being reread into the TStringlist.
Any help please
Regards
Eion McIntosh
PPCS Ltd
_____
_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20050607/be4761d9/attachment.html
More information about the Delphi
mailing list