General information
Category:
Reports & Report designer
Henry,
>I'd like to know if there's a way to prevent users from clicking on the PRINT button when in report preview mode.
The way to do this is to create a resource file that has a print preview toolbar without the printer icon. Then, just before doing a print preview, you SET RESOURCE TO this resource file, and reset the RESOURCE after you're done.
1. View the print preview tool bar.
2. Customize it to remove the printer icon.
3. Exit VFP
4. Copy the foxuser.dbf you just modified (check the time stamp) to some other location.
5. Restart VFP, and remove all the records in the copied foxuser.dbf except the one for the toolbar in question.
6. Include the new resource file (call it something pertinent) in your project, and you don't have to worry about it getting deleted.
Now, when you preview reports...just set resource to this new resource file.
It works well in a project I've used it on.
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