Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: Visual FoxPro
Expertise: Beginner
Apr 2, 1999



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Preview in VFP

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?

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.

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date