General information
Category:
Reports & Report designer
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?
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only