Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing the print from the print preview
Message
From
29/04/1997 11:24:53
 
 
To
29/04/1997 11:04:50
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00029975
Message ID:
00030116
Views:
40
>I just did this recently. In essence, stash a copy of your current resource file (foxuser.dbf), start FoxPro, customize the toolbar in question (in this case, removing the Print button), then close FoxPro. You may want to check with a quick printout that it's really gone. Then, rename the foxuser.dbf that has been generated, restore your stashed foxuser.dbf, then restart FoxPro.
>
>Open the renamed resource file, and browse the file for the record whose value in the memo field called "Name" is "Print Preview". That's the toolbar. From here, it depends on what you want to do with this toolbar. I don't generally use resource files, so what I did was deleted all the other records and packed the file, then moved this file to my application directory and called it my resource file. If you do use a resource file, you need to append this record to your existing resource file.
>
>Now if you're doing this for your own FoxPro installation, you don't need to go through most of this. You can just customize the toolbar directly, and the results will automatically be stashed in your own foxuser.dbf.
>
>By the way, the place to customize toolbars is under the View - Toolbars... menu. Choose the toolbar you wish to modify, then press the Customize button.

In my case, during the EXE, SET RESOURCE is set to OFF. Will I still be able to make this print button removed?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform