Solved

TRichEdit and rtf files

Posted on 1997-04-23
2
905 Views
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...
0
Comment
Question by:Nando
2 Comments
 
LVL 1

Accepted Solution

by:
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 Heapster@Dial.Pipex.com, as i know it pretty well by now.

Some Useful Addresses.

WPTools: (native delphi)

http://members.aol.com/jziersch/index.html
InfoPower: (native delphi)

EMail: 76207.2541@compuserve.com
www.Woll2Woll.com

LEDIT:

TechnoSoft, Inc.
EMail: cwhite@techosoft-inc.com
www.technosoft-inc.com

Orpheus: (native delphi)

CompuServe: GO TURBOPOWER
Internet: www.tpower.com

TE Development kit ('supports' delphi)

EMail: subsys@shore.net
www.subsystems.com

MemoWriter Pro: (native delphi)

Universal Development Corporation
Internet: http://www.ice.net/~udc

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.
0
 

Author Comment

by:Nando
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...

0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Path  to current project in Delphi. 2 79
Send message from delphi to whatsapp, is it possible? 3 1,420
error 1.1 400 Bad request idhttp delphi 18 86
Delphi inherited method 6 68
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

785 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