Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
General
ReportBuilder 22.06 now available including Delphi 12.2 support!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
Report Builder 5.x
rbuser
February 2003
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
rbuser
February 2003
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
rbuser
February 2003
edited February 2003
that worked perfect!!
thanks so much,
Mike
This discussion has been closed.
Comments
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
thanks so much,
Mike