Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable print button in Print Preview toolbar?
Message
De
10/03/1999 12:04:29
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
10/03/1999 08:13:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00195771
Message ID:
00195910
Vues:
17
Uri-
This is a copy of a post I made on the 3rd on this exact same question. I found it by searching on "remove print preview"

******
It is possible. I assume this is for a client.

1. Start with a new foxuser.dbf (easiest way IMO is to delete the existing one.)
2. Start VFP
3. Chose menu option Toolbars\customize and customize the print preview toolbar by removing the print button.
4. Exit VFP and rename your new Foxuser (I use PREVTBAR.DBF)
5. Add it as an included free table in your project.
6. Now, in your printing routine you can SET RESOURCE to the user table with the customized toolbar. Here's my code:
IF FILE( 'prevtbar.dbf' )
LOCAL lcR
lcR = SET( 'RESOURCE' )
SET RESOURCE TO prevtbar
REPORT FORM (tcRptName) PREVIEW
= SET('RESOURCE',lcR)
ELSE
REPORT FORM (tcRptName) PREVIEW
ENDIF
POP menu _msysmenu


BTW, after all the years of wanting the printer icon on that toolbar, I was just broken hearted that the client wanted it removed. :-(

>Is it possible to disable or remove the "Print" icon from the preview toolbar in Fox 5?
*****

>Is there any way to disable "Print" button (the one with printer drawing on it) in the "Print Preview" toolbar?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform