ppViewer
Delphi 5 Enterprise, RB Enterprise 7.02
I put a ppViewer over a form and a report in another one.
when i execute ppReport1.PrintToDevices, why doesn't events in
BeforeAutosearchDialogCreate, and OnGetAutoSearchValues execute ?
i can't see anything.
if i Use Report1.Print. I see the report but dont't in ppviewer component of
my form.
Regards
Jorge C. Mosquera R.
Investigaci?n y Desarrollo
www.sitis.info
I put a ppViewer over a form and a report in another one.
when i execute ppReport1.PrintToDevices, why doesn't events in
BeforeAutosearchDialogCreate, and OnGetAutoSearchValues execute ?
i can't see anything.
if i Use Report1.Print. I see the report but dont't in ppviewer component of
my form.
Regards
Jorge C. Mosquera R.
Investigaci?n y Desarrollo
www.sitis.info
This discussion has been closed.
Comments
When using Print it fires those events prior to internally calling
PrintToDevices.
When using PrintToDevices you have to write the code to prepare the report.
See the TppReport.Print method (ppReport.pas) and its ancestor
TppProducer.Print (ppProd.pas)
--
Nard Moseley
Digital Metaphors Corporation
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
i'm beginner with Delphi, can you show me what must i do ?
Example...
if myReport.DisplayAutoSearchDialog then
myReport.PrintToDevices;
--
Nard Moseley
Digital Metaphors Corporation
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com