Zoom and maximized
Hi, i want to know how can i open the report window in a maximized size.
Someone helped me before, but i'm still lost... sorry.
And.. can i set the zoom to any particular level before open the report?
thanks
--
Guillermo Castaño Acevedo
Gerente de Sistemas - Grupo Millennium Ltda
GuillermoC@GrupoMillennium.com
www.GrupoMillennium.com
Someone helped me before, but i'm still lost... sorry.
And.. can i set the zoom to any particular level before open the report?
thanks
--
Guillermo Castaño Acevedo
Gerente de Sistemas - Grupo Millennium Ltda
GuillermoC@GrupoMillennium.com
www.GrupoMillennium.com
This discussion has been closed.
Comments
Tech Tip: Controlling the Built-in Previewer
------------------------------------------------
You can control the built-in preview form via the
Report.OnPreviewFormCreate event.
For example the following code sets the Print Preview form to
maximized and sets the Viewer ZoomSetting to 100%:
procedure TForm1.ppReport1PreviewFormCreate(Sender: TObject);
begin
ppReport1.PreviewForm.WindowState := wsMaximized;
TppViewer(ppReport1.PreviewForm.Viewer).ZoomSetting := zs100Percent;
end;
Note: You will need to add ppViewr to the uses clause of your unit,
so that the ZoomSetting enumerated type is recognized by the
compiler.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com