General information
Category:
Reports & Report designer
Title:
VFP 9.0 ReportPreview ZoomLevel Setup.
Environment versions
Network:
Windows 2000 Server
Hi All,
I am trying to setup the ZoomLevel as " Whole Page" by default when the preview is loaded.
I use reportlistener and a custom preview container.
i have this piece of code in my Custom Extension Handler in the previewcontainer
.PreviewForm.movable = .f.
.PreviewForm.windowstate = 1
.PreviewForm.windowtype = 1
.PreviewForm.minbutton = .f.
.PreviewForm.maxbutton = .f.
.PreviewForm.borderstyle = 1
.PreviewForm.autocenter = .t.
.PreviewForm.titlebar = 0
.PreviewForm.ZoomLevel = 5
loToolbar = .PreviewForm.toolbar
.PreviewForm.toolbar.movable = .f.
.PreviewForm.toolbar.sizable = .f.
.PreviewForm.toolbar.visible = .f.
.PreviewForm.toolbar.dock(0)
.PreviewForm.refresh()
.PreviewForm.toolbar.visible = .t.
.PreviewForm.toolbar.refresh
When i try to set the ZoomLevel = 10 && 10 - Whole Page
The report is blown up to 500 % and it does fit in the whole page either that is very large or very small some times.
any help is highly appreciated
Thanks in advance
Venkatram
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only