I'm trying to find out where report builder sets the print preview
form's size and position. I have one customer that says it's opening up
huge across both of their monitors. Do the various RB dialogs save their
size and position somewhere?
I'm using RB 7.04.
Comments
This can controlled via the Report.PreviewFormSettings propery or the
Report.OnPreviewFormCreate event.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Yes we set the windowstate to wsMaximized and the zoomsetting to
zs100Percent but I have one user where it's spanning multiple screens
and getting an error trying to do so. Trying to figure out why it's
going across multiple screens when other users (in the same office)
don't have the problem.
We have customers that use mutltiple screens, but we do not have that type
of setup to test here, so no way to test it.
If it works on some multi-screen setups and not on others, then perhaps they
are configured differently in the windows setup, or perhaps a bug in the
video driver.
There is a TForm.Position property, perhaps that can help.
ReportBuilder forms are all standard Delphi TForm descendants. The preview
form can be controlled using the same techniques you use for the other forms
in your application.
It is also possible to replace the default preview form by registering a new
one.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com