Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to remove the Print button in a report Preview

Reports

How to remove the Print button in a report Preview

by  Mike Gagnon  Posted    (Edited  )
You then have to distribute the resource file with your application.

You can modify the toolbar by choosing 'View / Toolbars...' from the menu. Now you can select the toolbar, and with the customize button you can modify it.

Now you can copy the Resource file. (You can see where this file is located in the options dialog).

The next step is that you remove all the unneeded records from the copied file with the following commands:


Use foxuser.dbf Exclusive
Delete All
Recall For Name = 'Print Preview' && Only the Print Preview toolbar is needed
Pack
Use
In the startup of your application you have to write:


Set Resource To Foxuser.dbf
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top