Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I supress the printing window
Message
From
09/11/2000 02:49:02
Gad Hutt
Express Print
Herzliya, Israel
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00439307
Message ID:
00439560
Views:
12
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform