🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: RichEdit and Streams

#127
From: Wayne Niddery [TeamB]
Date: Tue, 27 Jan 2004 01:18
15 lines
1591 bytes
Yehia Ahmed wrote:
> but  when  i used a Tstringlist an error occured:
>
> Sstream := tstringstream.Create('');
> MainText.Lines.SaveToStream(sstream);
> rtfln.Text  := sstream.datastring; ---------------------->Error
> Eaccess violation

Did you create the stringlist? Also, set sstream back to the start.

-- 
Wayne Niddery - Logic Fundamentals, Inc. (www.logicfundamentals.com)
RADBooks: http://www.logicfundamentals.com/RADBooks.html
"It is error alone which needs the support of government. Truth can
stand by itself." - Thomas Jefferson
Technical Details
Message-ID: <4015bcd5@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: <4014d318@newsgroups.borland.com> <VA.0000a903.004ec87e@nomail.please> <40157aa8@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109d30,b3adc9c135a2402
X-Google-Attributes: gid109d30,public
X-Google-ArrivalTime: 2004-01-26 17:37:44 PST
From: "Wayne Niddery [TeamB]" <wniddery@chaffaci.on.ca>
Newsgroups: borland.public.delphi.language.objectpascal
References: <4014d318@newsgroups.borland.com> <VA.0000a903.004ec87e@nomail.please> <40157aa8@newsgroups.borland.com>
Subject: Re: RichEdit and Streams
Date: Mon, 26 Jan 2004 20:18:48 -0500
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 69.17.182.139
Message-ID: <4015bcd5@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1075166421 69.17.182.139 (26 Jan 2004 17:20:21 -0700)
X-Authenticated-User: wniddery
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