Solved

TRichEdit with visual page break...

Posted on 1999-01-29
9
250 Views
Last Modified: 2013-11-22
How to extend the current TRichEdit component to support a Page break?  Or is there a 3rd-party component?

TQ
0
Comment
Question by:lukechiam
9 Comments
 
LVL 10

Expert Comment

by:Lischke
ID: 1363748
Not that I know of, although there might be a hidden option as other applications can do that. A solution (even if mor a workaround) would be to scan the input (e.g. in the streamin function) and add marking line at the palce where the page breaks are.

Ciao, Mike
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1363749
lukechiam,

I don't know if it's possible. TRichedit is a limited version....

how to test it? Simple. Open a wordeditor, put in a pagebreak and copy paste it to the richedit... does it print it? If no, Trichedit doesn't allow it :-(

normally a pagebreak is added with \page . But I'm afraid it doesn't work.

What you can do is looking at this one, maybe this has the ability?

http://sunsite.icm.edu.pl/delphi/ftp/d30free/riched98.zip

Regards, Zif.

ps. let us know something of your progress! Nothing is more frustrating if you don't here anything about it anymore...


0
 
LVL 4

Expert Comment

by:BoRiS
ID: 1363750
lukechiam

Zifnab is totally correct the richedit does not support Page break at all...

you can try the richedit 2.0 and see if this has been added into it other than that I suggest you use ole to connect to word or something alond those lines to get your required results...

Later
BoRiS
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:lukechiam
ID: 1363751
Edited text of question
0
 

Author Comment

by:lukechiam
ID: 1363752
Adjusted points to 200
0
 

Author Comment

by:lukechiam
ID: 1363753
Edited text of question.
0
 

Author Comment

by:lukechiam
ID: 1363754
Edited text of question.
0
 

Author Comment

by:lukechiam
ID: 1363755
Edited text of question.
0
 
LVL 8

Accepted Solution

by:
ZifNab earned 200 total points
ID: 1363756
lukechaim, look at the richedit component of the free RxLib v2.6: http://rx.demo.ru

There is an extended Richedit component capable of doing this.

Regards Zif.

0

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

Suggested Solutions

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…
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

679 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