TRichEdit and rtf files

Posted on 1997-04-23
Last Modified: 2013-11-22
I got a trouble with the TRIchEdit component... I import an rtf file into it but it doesn't recognise some codes like the page break (/page) and some others which Word interprets correctly instead... I want to be able to print the contents of the memo (with or without the Print method) with page breaks, and possibly define the margins... They hadn't any answer for me at Borland, so I'll grade this question with a high score...
Question by:Nando
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

Accepted Solution

Heapster earned 110 total points
ID: 1335678
Nando, the Delphi richedit component is severely lacking, in addition to the problems you mentioned, it doesnt have subscripts,full justification, ....the list goes on, in fact it
although it recognises rtf format (i.e. if you paste across from Word for example), it doesnt use that format internally.

The Solution:      Use a decent RichEdit component that someone has taken the trouble to write that does have all these lovely features, and uses a proper rtf internal format.

The one i use is WPTools by Julian Zierch, which i have found to be excellent, and i recommend highly, although there are quite a few alternatives out there. (If you use it can you tell him i recommended it! as Paul Heap)

I have found contacting Borland to be a waste of time, they dont seem to have much of a clue about their richedit component (or much else for that matter).  If you send me your e-mail address, I'll mail you the WPTools now for immediate evalution, and if you need help on how to use it, feel free to mail me at, as i know it pretty well by now.

Some Useful Addresses.

WPTools: (native delphi)
InfoPower: (native delphi)



TechnoSoft, Inc.

Orpheus: (native delphi)


TE Development kit ('supports' delphi)


MemoWriter Pro: (native delphi)

Universal Development Corporation

Theres also one called highedit pro, which comes as an ocx, but you'll have to search the web for it, but im sure at least one of the above can solve your problem.

Author Comment

ID: 1335679
Better than nothing... I'll see if I can buy a word-processor component just to have a richedit that interprets page breaks...


Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL ( and MongoDB (…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

696 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