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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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
\pagewill 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.