Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print Preview
Message
 
À
13/06/2002 13:01:27
Jonathan Hayton
Cbl Business Solutions Limited
Leeds, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00668083
Message ID:
00668122
Vues:
22
>Does anybody know how to set the zoom setting on the visual foxpro print preview programmatically.
>
>Thanks in anticipation
>
>Jonathan

There are several ways:
KEYBOARD "{Ctrl+F10}"
REPORT FORM myreport PREVIEW
or define the window for your report, activate it, maximize and preview your report in that window. (see help for REPORT FORM command for more info on this one) like:
DEFINE WINDOW wMyReport FROM 0,0 TO 100,200 TITLE "My Report Preview" SYSTEM CLOSE
ACTIVATE WINDOW wMyReport
ZOOM WINDOW wMyReport MAX
REPORT FORM myreport  WINDOW wMyReport TO PRINT PREVIEW [IN SCREEN] NOCONSOLE
RELEASE WINDOW wMyReport
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform