Home General

report preview maximized

edited June 2001 in General
How do i get maximizied a window of a report preview as well as page width
selected before executing the print command ?
Thanks.
Fernando

Comments

  • edited June 2001
    With the TppReport.OnPreviewFormCreate event:

    procedure TForm1.ppReport1PreviewFormCreate(Sender: TObject);
    begin
    ppReport1.PreviewForm.WindowState := wsMaximized;
    TppViewer(ppReport1.PreviewForm.Viewer).ZoomSetting := zs100Percent;
    end;

    HTH,
    Ed Dressel
    Team DM

This discussion has been closed.