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

Report Builder 5.x

edited February 2003 in General
How do I setup my Report Builder to load at Maximized mode and the report to
Fit width to page at RunTime?

thanks,
Mike

Comments

  • edited February 2003
    > How do I setup my Report Builder to load at Maximized mode and the report
    to

    It's easier in 7, but here is some code (clipped from my app--it's been
    remmed out as I use the new method):

    TppCustomReport(Sender).PreviewForm.Height :=
    TppCustomReport(Sender).PreviewForm.Width :=
    TppCustomReport(Sender).PreviewForm.WindowState :=
    TppViewer(TppCustomReport(Sender).PreviewForm.Viewer ).ZoomPercentage :=
    TppViewer(TppCustomReport(Sender).PreviewForm.Viewer ).ZoomSetting :=

    you need to be sure ppTypes, ppClass and ppViewr are in your uses clause.

    Enjoy.

    Ed Dressel
    Team DM
  • edited February 2003
    that worked perfect!!

    thanks so much,
    Mike


This discussion has been closed.