Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
To Print or not To Print, that is the question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00876328
Message ID:
00876373
Vues:
31
This message has been marked as the solution to the initial question of the thread.
Well, then do not use "NODIALOG", but hide the Printing window, like:
1. Create a program/subroutine like:
Procedure IHide
if wexist("Printing...")
	move window "Printing..." to -500,-500
endif
2. In the report add field with iHide() as expression

>Very clever! But what if you use the new "NODIALOG" feature of VFP8.0, does the WEXIST() technique still work??? I will check it out.
>
>Thanks
>Glenn
>
>>You may use something like this:
>>Add a variable to the report, like 'isprinted', with initial value .f. and value to store wexist("PRINTING").
>>
>>Then check isprinted value after user closed or printed the report.
>>
>>>Is there any way to detect if the user cancelled printing during a preview? In other words can we detect if the door icon on the toolbar was used? I believe in previous versions (FPW) this was possible, but now that my mind is gone I cannot remember the "trick"
>>>
>>>Thanks
>>>
>>>Glenn
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform