Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No way to tell if Print button was pressed on Preview?!
Message
From
02/08/1997 11:24:02
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00042331
Message ID:
00042890
Views:
40
>George, here's a message from David Stowell a month or so back, along with >a followup question from Michel Fournier. The answer to Michel's question >was "NO" > >This at gives us a way of preventing users from printing at all from the >Preview screen. > >HTH >Barbara > >>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? > >(answer was NO, must SET RESOURCE ON) note that you can just SET RESOURCE ON before the report Arnon
Previous
Reply
Map
View

Click here to load this message in the networking platform