Preview report in full screen.
Dear All
I need some help on using Delphi to preview ReportBuilder.
I'm currently using this coding to preview report.
...
with ppReport1 do begin
DeviceType := 'Screen';
Print;
end;
...
This coding results to preview report in about 22% of report's actual size
and the dialog size is about 1/3 of the full screen.
Is there a posiblity to control the size of the preview dialog and the
percentage of the report's size? If so, please advise me.
Thanks in advance.
Kongthap Thammachat
jeud@yahoo.com
ICQ: 13026976
I need some help on using Delphi to preview ReportBuilder.
I'm currently using this coding to preview report.
...
with ppReport1 do begin
DeviceType := 'Screen';
Print;
end;
...
This coding results to preview report in about 22% of report's actual size
and the dialog size is about 1/3 of the full screen.
Is there a posiblity to control the size of the preview dialog and the
percentage of the report's size? If so, please advise me.
Thanks in advance.
Kongthap Thammachat
jeud@yahoo.com
ICQ: 13026976
This discussion has been closed.
Comments
manipulate preview window size through WindowState,ZoomPercentage and
ZoomSetting. That should be enough.
In your case:
with ppReport1 do begin
DeviceType := 'Screen';
PreviewFormSettings.WindowState:=wsMaximized;
Print;
end;
Would show the preview window at full screen size.