Solved

TRichEdit with visual page break...

Posted on 1999-01-29
9
253 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
Technology Partners: 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

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

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…
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month6 days, 7 hours left to enroll

634 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