Solved

Formatted text with RichText component

Posted on 1998-09-11
2
249 Views
Last Modified: 2010-04-03
I have got some formatted text in a RichEdit1. And I have got a QRRichText1 box in a QRListForm.
I want to transfer the formatted text from the RichEdit1 to QRRichText1.
But how?
0
Comment
Question by:rainbowsoftware
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
rene100 earned 50 total points
ID: 1339498
try this:

procedure CopyStream();
var
Stream: TStream;
begin
Stream:=TMemoryStream.Create;
RichEdit1.Lines.SaveToStream(Stream);
Stream.Position:=0;
RichEdit2.lines.LoadFromStream(Stream);
Stream.free;
end;
0
 

Author Comment

by:rainbowsoftware
ID: 1339499
Thanks a lot!
Sometimes the solution is stumbeling (or whatever it's called) close to your brain.
Mine obviously had an offday.

0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question