Tech or Treat! Write an article about your scariest tech disaster to win gadgets!Learn more

x
?
Solved

Formatted text with RichText component

Posted on 1998-09-11
2
Medium Priority
?
251 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 150 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

647 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