TppViewer Blank
Have a TForm including a TppViewer linked with a TppReport, that in
FormShow event executes:
procedure TFormReport.FormShow(Sender: TObject);
begin
Report.Template.LoadFormStream(stream);
Report.Devicetype := 'Screen';
Report.PrintToDevices;
end;
The first time that I creates the form and show it, everything works fine,
but consequents times, the Viewer appears blank.
I destroy the form, create and show it again. Method PrintToDevices is
executed but nothing occurs.
Thanks.
Fernando L. Garetto
Desarrollo
FULFILL TECHNOLOGY S. A.
27 de Abril 424 3ro. A
X5000AEJ - C?RDOBA - RA
TE: 54 351 4283419
http://www.fulfill-tech.com
This discussion has been closed.
Comments
Are you certain the TppViewer is still connected to the Report? Try tracing
through the code you have below and be sure A.) the correct template stream
is being loaded, and B.) The Viewer is still properly connected to the
Report.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com