General information
Category:
Reports & Report designer
First, set the RESOURCE file to a new one. Than, open the print preview and customize the toolbar. Close FoxPro. Open again. Open the resource file as a dbf and delete all records that have nothing to do with the toolbar. Now, you have a resource file that customizes the toolbar.
In your print preview method/procedure:
lcOldResourceFile = SET("RESOURCE",1)
SET RESOURCE TO MyFile
REPORT FORM ...
SET RESOURCE TO (lcOldResourceFile)
Include the MyFile into your project. Bingo!
Vlad
>Dear all,
>
>Usually when you preview a report using the command
>
>REPORT FORM 'filename' PREVIEW
>
>the previewed report will also show a print preview toolbar.
>The print preview toolbar consists of the next, previous, zoom,
>close and also print button. Is there a way to disable the
>print button?
>
>Please help. Thank you very much
>
>
>
>Dora
Previous
Next
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