• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 900
  • Last Modified:

Visual Foxpro

I use visual foxpro 6.0 in my app. I need to modify the print preview to remove or block
the print button on some reports in my program.
Sometimes the print button is needed.

Dan Landry
0
DanielBLandry
Asked:
DanielBLandry
  • 3
1 Solution
 
pcelbaCommented:
The Report Preview toolbar is defined in resource file (FOXUSER.DBF obviously). So if you set the appropriate resource file before the REPORT FORM command it will display the toolbar with or without the Print button.

The code and instructions to prepare appropriate resource files are published e.g. here: http://support.microsoft.com/kb/317466
0
 
Kalpesh ChhatralaSoftware ConsultantCommented:
Hi,

I suggest FoxyPreview Report Viewer. you can easily customize button in this Report Viewer.

http://foxypreviewer.codeplex.com/
0
 
pcelbaCommented:
Just FYI, FoxyPreviewer does not work under VFP 6.
0
 
DanielBLandryAuthor Commented:
I found a solution that works with vp 6
0
 
pcelbaCommented:
Yes, the solution based on the resource file should work in all VFP versions. Of course, VFP 9 requires appropriate REPORTBEHAVIOR to implement it.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now