🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.database.dotnet
Article #104

Reading text from DB into RichTextBox problem

#104
From: Brigitte Spatz
Date: Fri, 11 Aug 2006 06:10
21 lines
1506 bytes
Why is it that
RichTextBox1.Text := 'blablabla'#13#10#13#10'blablabla';
displays correctly as
"blablabla

blablabla"
but as soon as I read the very same text (including single quotes and all)  
 from a database record field, all I get is
"'blablabla'#13#10#13#10'blablabla'"?
That's not what I need :-(

What do I have to do to the text in the DB so that it displays line breaks  
when read out and assigned to the Text property of a RichTextBox?

TIA.

Brigitte
Technical Details
Message-ID: <op.td3vfcb0i0jcwv@acer>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1effe6,bb16778a91aa2ccb,start
X-Google-Attributes: gid1effe6,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 11 Aug 2006 08:10:14 +0200
Subject: Reading text from DB into RichTextBox problem
From: "Brigitte Spatz" <brigitte.NOSPAMspatz@svenmahn.de>
Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
MIME-Version: 1.0
Newsgroups: borland.public.delphi.database.dotnet
Content-Transfer-Encoding: Quoted-Printable
Message-ID: <op.td3vfcb0i0jcwv@acer>
User-Agent: Opera Mail/9.00 (Win32)
X-Antivirus: avast! (VPS 0632-2, 10/08/2006), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 88.134.14.126
X-Trace: newsgroups.borland.com 1155276620 88.134.14.126 (10 Aug 2006 23:10:20 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail