Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Force the preview zoom
Message
 
 
À
05/01/2004 01:19:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00858193
Message ID:
00864015
Vues:
24
Hi David,

I have a form "just" to preview reports.
ShowWindow 2 - Top Level
WindowState 2 - Maximized
In it's deactivate event:
MOUSE DBLCLICK AT -0.1,0.1 WINDOW "Print Preview"  && Docks the toolbar
Don't forget the code for the report's DataEnvironment.Init()
ZOOM WINDOW "Report Designer" MAX
To run the report (typical):
DO FORM forms\frmReport
REPORT FORM reports\rptList ;
	TO PRINTER PROMPT PREVIEW ;
	IN WINDOW "frmReport"
RELEASE WINDOWS frmReport
* frmReport is the name of my Top Level form
>>Yup. I am using it in a top level form.
>>I usually put this in the Report's DataEnvironment.Init()
>>
ZOOM WINDOW "Report Designer" MAX
>>
>>>Can this work if my app is not running in the VFP envionment? My main form is a top level form. I can realy tell if I can create user defined windows in an exe app.
>
>Have you received any solution to this? I have the same question. When using the ZOOM WINDOW (in VFP or in EXE, in SCREEN or in DESKTOP) the only thing that happens is that the report previews in a window inside of the defined window, in its own little un-zoomed -- and tiny -- state, which is totally useless.
>
>Thanks for any info.
Regards,

Mike

"We try to solve the problem by rushing through the design process so that enough time is left at the end to uncover the errors that were made because we rushed through the design process."
- Glenford Myers

If you're going through hell, keep going. - Walt Disney
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform