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

Use Rich Text Editor in application?

edited July 2005 in General
I'm using ReportBuilder Standard Edition 6.03 in Delphi 5. I have a report
with a Rich Text field, and the rich text comes from a database. I would
like my end-user to be able to edit that text but there's no convenient
component for rich text editing in Delphi 5.

The Rich Text Editor that ReportBuilder offers in design mode would be
perfect. Can someone please give me a pointer for compiling it into my
application?

Another alternative for me would be to upgrade to the latest ReportBuilder
Professional edition and change my application so the report was getting
edited and not just the rich text field. But I don't have any other need to
upgrade right now, and I'd prefer to change my application as little as
possible. So if there is a way to use ReportBuilder's Rich Text Editor in my
application, or a similar component from somewhere else, that would be the
shortest path to my goal.

Thanks,
Richard

Comments

  • edited July 2005
    Hi Richard,

    The RichText editor included with ReportBuilder uses the TCustomRichEdit
    class as the main text editor. If you would like to see the source code and
    design of this feature, take a look at the ppRichEd.pas file in the
    \RBuilder\Source directory. This will give you a good example of what is
    happening in ReportBuilder. Although we have never created a stand alone
    RichText Editor, I believe it should be possible using this file. The
    TppRichTextEditor class descends from TForm.

    --
    Regards,

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

    "Richard Biffl"
    Best Regards,

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