Preview in VFP

Question:
I am going to give a preview of a report for a user, but a small window with a printer icon shows on the top. I don’t want the report to be printed. How do I set the printer icon on the small window to disable?

Answer:
There is no way to turn off the printer icon in a preview. You might try:

1. Creating your own preview toolbar with no print button

2. Moving VFP’s Print Preview toolbar off of the visible screen (VFP names the toolbar “Print Preview”):

    MOVE WINDOW "Print Preview" TO -1000,-1000

3. When “<" is pressed on your preview toolbar, use the MOUSE command to click on the "<" button on the "Print Preview" toolbar

    MOUSE CLICK AT 1,8 WINDOW “Print Preview”

4. Repeat #3 for all other buttons (except print) on the toolbar

For more reading, Christof Lange had an excellent article on reports in the October 1998 Foxpro Advisor magazine.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

The Latest

microsoft careers

Top Careers at Microsoft

Microsoft has gained its position as one of the top companies in the world, and Microsoft careers are flourishing. This multinational company is efficiently developing popular software and computers with other consumer electronics. It is a dream come true for so many people to acquire a high paid, high-prestige job

your company's audio

4 Areas of Your Company Where Your Audio Really Matters

Your company probably relies on audio more than you realize. Whether you’re creating a spoken text message to a colleague or giving a speech, you want your audio to shine. Otherwise, you could cause avoidable friction points and potentially hurt your brand reputation. For example, let’s say you create a

chrome os developer mode

How to Turn on Chrome OS Developer Mode

Google’s Chrome OS is a popular operating system that is widely used on Chromebooks and other devices. While it is designed to be simple and user-friendly, there are times when users may want to access additional features and functionality. One way to do this is by turning on Chrome OS