Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 9.0 ReportPreview ZoomLevel Setup.
Message
From
13/11/2006 14:13:25
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
VFP 9.0 ReportPreview ZoomLevel Setup.
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01169263
Message ID:
01169263
Views:
80
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
Map
View

Click here to load this message in the networking platform