Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number of Page
Message
 
 
To
29/11/2001 11:58:52
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00587093
Message ID:
00587539
Views:
30
>I've used this technique to capture the 'x of y' page number, but one little thing nags me. When I run the report form the windows 'Printing page...' message box pops up for printing to the file as well as to the printer. Is there any way to prevent that from occuring? It's trivial but I hate to have my application looking like a light show, if you know what I mean...

This is a tip from Cathy Pountney: In the Header of your report (or on Entry) put a call to a function HidePrinting:

Here is a code:
********************************************************************
*  Description.......: Hides Printing window
*  Calling Samples...:
*  Parameter List....:
*  Created by........: Cathy Pountney  #028660
*  Modified by.......: 
********************************************************************
if wexist('Printing...')
	move window 'Printing...' to -1000, -1000
endif
wait window nowait "Processing report... Please, wait..."
return ''
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform