Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exit application when closing print previw
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00778823
Message ID:
00778901
Vues:
21
If you don't have an active resource file, use this code:
KEYBOARD '{CTRL+F10}'
REPORT FORM MyReport TO PRINTER PROMPT PREVIEW
If you have a resource file, you'll have to turn it off first or make sure it's read-only.

Another way to do this is put the following line of code in the INIT method of the Data Environment of the report:
ZOOM WINDOW "Report Designer" MAX
Cathy

>The code I am using to call the print preview is:
>
>_SCREEN = .T.
>Report form myreport preview noconsole
>_SCREEN = .F.
>
>After you told me the print preview couldn't do it, I found the _screen = .F. command. This must close the application or hide it, but I don't want that. I was trying to have the print preview default to the full screen. Could you tell me how to do that?
>
>Thanks for your help
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform