Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number of Page
Message
 
 
À
29/11/2001 11:58:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00587093
Message ID:
00587539
Vues:
31
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform