Solved

TRichEdit with visual page break...

Posted on 1999-01-29
9
252 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
[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
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
Independent Software Vendors: 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

738 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