Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 9.0 ReportPreview ZoomLevel Setup.
Message
De
13/11/2006 14:13:25
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
VFP 9.0 ReportPreview ZoomLevel Setup.
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01169263
Message ID:
01169263
Vues:
78
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform