Little problems...
Hi! I have these problems:
1. Is there a way of prevent the deletion of any component from inside
the designer? ( I tryed to set an abort on the oncomponentdestroy, but after
2 or 3 press of the delete key it program gives an exception)
2. I give to all my costumers the possibility of customizing all the
reports of my application. To do this I saved the report on file as *.rtm,
and that's right. The problem grows when I make some modification to the
source code: for istance assigning new events to a detail band or changing
the name of a tppDBText. If I reload any template the new changes I've made
disappear! Is there a way to keep the source code and the rtm synchronized
or a different way of doing this?
Best regards,
Marco Carboni
Flex Line S.r.l.
1. Is there a way of prevent the deletion of any component from inside
the designer? ( I tryed to set an abort on the oncomponentdestroy, but after
2 or 3 press of the delete key it program gives an exception)
2. I give to all my costumers the possibility of customizing all the
reports of my application. To do this I saved the report on file as *.rtm,
and that's right. The problem grows when I make some modification to the
source code: for istance assigning new events to a detail band or changing
the name of a tppDBText. If I reload any template the new changes I've made
disappear! Is there a way to keep the source code and the rtm synchronized
or a different way of doing this?
Best regards,
Marco Carboni
Flex Line S.r.l.
This discussion has been closed.
Comments
2. If you load a template and modify it, then you'll need to save it down
as an rtm in order to save the changes- is this what you mean? You could
try to modify a template programatically if it is saved as ASCII text. You
should see that the report object definitions are much like object
definitions in a Delphi dfm.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com