Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling Print in Print Preview Toolbar
Message
De
29/03/1999 10:43:29
 
 
À
29/03/1999 10:33:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00202989
Message ID:
00202994
Vues:
22
>Hi,
>I'd like to distribute an evaluation copy of my application in which printing capabilities are removed. I want to preview reports without being able to print.
>To do so I need to disable the Print button in the report preview toolbar. Is this possible? Do we have access to the toolbar code.
>If not, maybe just hiding it when previewed would do the trick. In this case what is the name of the toolbar object?
>Any advices?
>Thank you

You may carefully try following way:
1. SET RESOURCE to some file (not your normal FoxUser.dbf)
2. View/Toolbar/Report Preview
3. Select 'Customize' and drag print button off the toolbar.
4. Reset RESOURCE to your normal file.
Now the file where you stored RESOURCEs will provide that Preview/Print button is removed and you may use this file in your application, i.e. you distribute it separately and use SET RESOURCE to toggle it around REPORT FORM ... PREVIEW.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform