reuse a printmodule including a reportlayout

I have an inherited printlistmodule:

TPrintListModule = class(TBasicPrintModule)

The basic class contains a report without a designed layout.
I want to set the reportlayout in the inherited PrintList.
However I get the message: 'Cannot rename component Report, component was introduced in an ancestor form.'
Probably this has to do with the fact, that the report is stored in .dfm.

I still want to store the layout in .dfm (so that I am always sure it is at hand rather than loadFromFile),
but also want to reuse my basicPrintModule (because I will get more printprocesses doing almost the same thing).

Do you know a way out?

Wina

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.