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
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