Article View: borland.public.cppbuilder.database.multi-tier
Article #1469rtf-text from Memofield to RichEdit??
From: Ingo Sigl
Date: Fri, 17 Sep 1999 00:00
Date: Fri, 17 Sep 1999 00:00
18 lines
1131 bytes
1131 bytes
I have a table with a formatted memofield that contains rtf-text. I must
display and change the text without changing the table. Therefore I want
to copy the (formatted) text into a richedit-component with:
RichEdit.Lines.Add(Table.FieldByName('Memofield').AsString);
but I always get an error message. With plain text this method functions
but with formatted rtf-text it fails.
If I connect the Memofield with a DBRichEdit component the text is
displayed correctly. Is there another way to transfer the contents of
the memofield (rtf-text) into the RichEdit-component.
Thanx for any help
ingo.sigl@online.de
Technical Details
Message-ID:
<37E1FD9A.FF31401F@online.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,b97cfd64be1d1fba,start X-Google-Attributes: gidfcd2b,public From: Ingo Sigl <ingo.sigl@online.de> Subject: rtf-text from Memofield to RichEdit?? Date: 1999/09/17 Message-ID: <37E1FD9A.FF31401F@online.de> X-Deja-AN: 526245407 Content-Transfer-Encoding: 7bit Organization: GlueDo X-Accept-Language: de Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.multi-tier