Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Jul 2007
    Location
    Velsen Noord, Netherlands
    Posts
    207
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Richedit page break, please help

    I have a form with richedit field, text in inserted from a access database (this works perfect).
    I also use quickreport to show print preview and print or save it to pdf (or something else).
    Sometimes the text inserted into the richedit field is too large to fit into 1 page.
    How can I make it that richedit recognice the length of the text so that quickreport can create more pages.

    How can I do this?

    Please help???

  • #2
    Regular Coder
    Join Date
    Oct 2008
    Posts
    214
    Thanks
    5
    Thanked 22 Times in 22 Posts
    Are you using Delphi ? I ask because older Delphi IDEs were shipped with a report component called QuickReports.

    As far as I remember you must set a property on the QuickReports' RichEdit component to do what you want to do. It's something like "CanGrow" or "CanStretch"...

  • #3
    Regular Coder
    Join Date
    Jul 2007
    Location
    Velsen Noord, Netherlands
    Posts
    207
    Thanks
    6
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by TheWolf1 View Post
    Are you using Delphi ? I ask because older Delphi IDEs were shipped with a report component called QuickReports.

    As far as I remember you must set a property on the QuickReports' RichEdit component to do what you want to do. It's something like "CanGrow" or "CanStretch"...
    Yeah I use delphi 2009, and have the latest version of quickreport.

    I dont have a quickreports richedit component on the form just a richedit and when pressed a button the lines of text are send to the quickreport (other form).

    Don't know how to solve this.

  • #4
    Regular Coder
    Join Date
    Oct 2008
    Posts
    214
    Thanks
    5
    Thanked 22 Times in 22 Posts
    OK, so when you send your RichEdit data to the report, use a QRRichEdit and set the Autostretch property to true, the QRRichEdit will resize itself to fit it's content.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •