Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Report Preview Display Maximized

edited August 2003 in General
Hello everyone.

I have a report that I send to the screen before I send it to my printer. I
would like to know how do I make the preview window to display maximized.

Tia
Charles Urbina

Comments

  • edited August 2003
    in the PreviewFormCreate event put these lines in :

    ppReport1.PreviewForm.WindowState := wsMaximized;

    make sure you have ppTypes and ppViewr in the uses clause.

    I use this for my users too :
    TppViewer(ppReport1.PreviewForm.Viewer).ZoomSetting := zs100Percent;



    HTH,
    Mike


  • edited August 2003
    Hi Charles,

    If you are using RB 7, you can set the new Report.PreviewFormSettings
    property rather than having to code an event handler for the
    OnPreviewFormCreate event.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited August 2003
    Mike,

    Thanks I'll try this
    Charles

  • edited August 2003
    Jim,
    I'm using rb 6

    Thanks
    Charles

This discussion has been closed.