Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I supress the printing window
Message
De
09/11/2000 02:49:02
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00439307
Message ID:
00439560
Vues:
15
>>Hi all,
>>
>>How can I supress the printing window that appears when VFP prints a report?
>>( not the printing dialog window, but the small one with the reports name...)
>>
>>Thanks
>>
>>Gadi
>
>Hi Gadi,
>
>Technically, you can't suppress it ... But you can move it out of the way so it appears as if it's gone. Put the following code in a UDF that you can access from the report.
>
>
>IF WEXIST('Printing...')
>  MOVE WINDOW 'Printing...' TO -1000, -1000
>ENDIF
>
>
>In the "On Entry" portion of the Title band of your report add a call to this UDF. If you're working with 2.6 instead of Visual, add an object to the title band that calls the UDF.
>
>The "Printing..." window will flash for a brief moment and then look like it disappears. But beware, it's still there so you still can't print reports from COM objects.
>
>Cathy

Thank you Cathy !!!

:-)
Gadi
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform