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

Replacing TppRichText by TppRichView in RTM files

edited April 2005 in General
I plan to replace in my Delphi 7 app TRichEdit by TRichView and
TDbRichEdit by TDbRichView (components that allow images and tables and
other interesting things).
To be able to print my memos, I need to replace TppRichText by
TppRichView and TppDbRichText by TppDBRichView (wrappers) in my reports.

My problem is to migrate all the reports of my customers which are
stored in RTM files.

This must be automatic because I have thousands of report to migrate.

Is there a simplest method than :
- Opening the report.
- looping over the component
- saving properties of TppRichText and TppDbRichText components
- deleting them
- create TppRichView and TppDbRichView components
- setting properties as they was saved.

Can this method works ? Is there something I forgot ?

Is there an existing tool for such modification in RTM files ?

Thanks for any advice.

Marc

Comments

This discussion has been closed.