Solved

TRichEdit with visual page break...

Posted on 1999-01-29
9
249 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
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.

 

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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

Title # Comments Views Activity
Magic Software info 18 138
FMX and jaudiotracker playing memory stream 29 87
Firemonkey allowing RTL on android 6 47
Browsing a TTreeView in Delphi 5 8
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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

837 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