Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Force New Page in Richtext

edited January 2007 in General
Hello,
I have a bit difficult problem and I'm wonder if this I can solve in RB
10 (perhaps with some more code).

I want that my end user has the ability to set Marker (perhaps as
special chars) in Richtext (I'm using WPTools). Per Code I want to do
following :

If I found such a marker, the rest of the Richtext should only print on
the current page if the whole rest can print of the same page. If not it
should print on the next page.

Can I do this with code in Delphi? How can I do this?

Best wishes
Bernhard

Comments

  • edited January 2007
    Hi Bernhard,

    We have not tried anything like this here before. Though I am not sure of
    the exact features of the WPTools RTF component, you would probably need to
    somehow split the RTF file into two files and print them separately on each
    page if you came across the character to do so.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.