• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 260
  • Last Modified:

TRichEdit with visual page break...

How to extend the current TRichEdit component to support a Page break?  Or is there a 3rd-party component?

TQ
0
lukechiam
Asked:
lukechiam
1 Solution
 
LischkeCommented:
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
 
ZifNabCommented:
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
 
BoRiSCommented:
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
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
lukechiamAuthor Commented:
Edited text of question
0
 
lukechiamAuthor Commented:
Adjusted points to 200
0
 
lukechiamAuthor Commented:
Edited text of question.
0
 
lukechiamAuthor Commented:
Edited text of question.
0
 
lukechiamAuthor Commented:
Edited text of question.
0
 
ZifNabCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now