Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preventing Printing from PREVIEW toolbar
Message
From
28/03/2000 23:37:06
 
 
To
28/03/2000 22:32:23
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00351778
Message ID:
00351882
Views:
12
>Thanks for the reply. I had never customized Fox toolbars before so I was interested in your solution. Strangely, though, the print button simply will not get off the toolbar customization dialog. Each time I dragged it off, it created a new toolbar with the print button in it.

Roughly:
1. make a backup of your foxuser files
2. from vfp modify the print preview tool bar to remove the print button. Results are stored in the foxuser (resource) dbf
3. save the foxuser dbf as some other name.
4. compile the resource dbf into your exe. (this is optional)
5. In your print preview commands (I use a function to do this) SET RESOURCE TO your resource dbf from step 3.
6. Do your PRINT PREVIEW
7. ReSET RESOURCE TO your usual resource file.

Glad you found your solution though. Personally, I hate having to remove the print button from the preview toolbar, since it took us all this time to finally get it.
Previous
Reply
Map
View

Click here to load this message in the networking platform