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

Automatic 100% Zoom

edited November 2001 in General
How do I get a report to zoom to 100% and have its display window maximized
automatically when I do a preview?

Comments

  • edited November 2001
    In the OnPreviewFormCreate of the report use:
    MyReport.PreviewForm.WindowState := wsMaximized;
    TppViewer(MyReport.PreviewForm.Viewer).ZoomSetting := zs100Percent;

    and include the ppViewr unit in your uses clause.

This discussion has been closed.