Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent users to print in a preview mode
Message
De
06/07/1999 21:34:01
 
 
À
14/06/1999 11:26:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00229460
Message ID:
00238069
Vues:
16
>Is there a way to prevent any users to print when they are in the print preview. I would like to be able to disable only the print button in the navigation toolbar. If not, can I disable the toolbar and how do I do that?
>Is there other solutions?



Hi all, there was a thread half yrs ago in here to do this.

The coding is to hide the "Print Preview" toolbar!

So, user need to use keyboard:
Ctrl+Pageup to first page
Pageup to previous page
PageDown to next page
Ctrl+PageDown to Last page


To hide the toolbar, one of the code is to simulate double-click on control box
of toolbar.

For me, I use this code to close it!
PrintJob

If WVisible("Print Preview")  
* if you use Chinese Version, the wording may be different!
   Hide Window "Print Preview"
Endif

KEYBOARD {CTRL+F10}  && Make Full Screen Preview

_pbpage = 1 && start page... and some system setting

Report form myreport preview

EndPrint
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform