Reputation: 763
I am trying to find a way to force a page break in Delphi when Using the RichEdit Controls print method. The Rich Edit control ignores the \page command for some silly reason.
Does anyone know of a way to do this?
Upvotes: 3
Views: 1433
Reputation: 4078
Unfortunately, TRichEdit control just ignores this for the displaying box, and as far as I know, there is no way to force it to show the pages.
If the goal you want is to break pages so a printer can split it into multiple papers, as @SertacAkyuz said, in this case the \page
will be parsed and the pages will be correctly printed in separate papers.
But if your goal is to display the page breaks graphically, then you'll be depending on a third-party component.
Upvotes: 2