TppCustomAutoSearchDialog
Hi
I currently have two projects with reports and many common files between
them and i am trying to integrate some of the reports from one exe with the
other. The first exe has RB reports just made in delphi and the second exe
has RB reports made in RAP opened via the ReportExplorer. This is all well
and good, but i have a CustomAutoSearchDialog in each project which i need
for the reports. When i add the CustomAutoSearchdialog from the first
project into the second, both the customautosearchdialogs stop working. is
there a way i can have both CustomAutoSearchDialogs working in 1 project or
will i have to take all the classes out of one and put them in to the other?
Cheers
Adam
I currently have two projects with reports and many common files between
them and i am trying to integrate some of the reports from one exe with the
other. The first exe has RB reports just made in delphi and the second exe
has RB reports made in RAP opened via the ReportExplorer. This is all well
and good, but i have a CustomAutoSearchDialog in each project which i need
for the reports. When i add the CustomAutoSearchdialog from the first
project into the second, both the customautosearchdialogs stop working. is
there a way i can have both CustomAutoSearchDialogs working in 1 project or
will i have to take all the classes out of one and put them in to the other?
Cheers
Adam
This discussion has been closed.
Comments
I'm not sure why both autosearch dialogs are not working when you register
both of them. It is however impossible to register two autosearch dialogs
in the same application and have both of them work. You could perhaps
register and unregister each dialog as you need them for each report. As an
alternative, you could create a new custom autosearch dialog that contains
multiple panels. Then depending on the report, show the correct panel in
the dialog.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
dialogs, i guess i will just have to combine the two units.
Cheers
Adam.