Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preview in report
Message
De
22/12/1999 11:21:51
 
 
À
22/12/1999 10:51:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00307323
Message ID:
00307344
Vues:
14
>Is it possible when i use report form ... preview noconsole to obtain that VFP previews the report in a maximised screen.
>
>Because with the command above the preview is in a reduce screen.
>
>i do not want to utilize the option preview in window, is there an other solution
>

If you are using a resource file (FOXUSER) you can save the maximized status for a form preview in the PREFW/REPORTPOS record for each report - simply have FOXUSER set up, do a REPORT FORM xxx PREVIEW, maximize the Preview and exit. The Maximized preview setting will be saved for the form in the Resource File record for that report form (the data field involved, Data, is a memo field with binary data in it, so I don't know the exact sequence to store programmatically. The record involved will have TYPE = "PREFW", ID='REPORTPOS', and NAME = "report form name.frx") By sending out the FOXUSER files and installing them on each workstation, you can set this option on a form by form basis. You can preserve the setting either by having the FOXUSER resource files marked as read-only, or by setting the ReadOnly field of the PREFW/REPORTPOS record as .T.

You could also try stuffing a {Ctrl-F10} using KEYBOARD or the SendKeys method of the Wscript.Shell automation object to maximize the Preview, but this won't bring up the Preview pre-maximized.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform