Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. articles. downloads. faq. members. files. rss.
 From: Mike Gagnon
  Where is Mike Gagnon?
 Pointe Claire
 Canada
 Mike Gagnon
 To: Garth Groft
  Where is Garth Groft?
 York
 Pennsylvania - United States
 Garth Groft
Subject: RE: Controlling Preview Windows
Thread ID: 183646 Message ID: 183669 # Views: 7 # Ratings: 1
Version: Visual FoxPro 9 Category: Reports and Printers
Date: Monday, July 14, 2008 11:42:28 PM         
   



> Controlling Preview Windows:
>
> i have an app which allows an invoice to be reviewed in a preview window at maximum size before printing. however, due to the user's chosen screen resolution, the user must to scroll down to the bottom of the page to see the total amount? therefore my question is ... is there a way to open a report preview window at 75% of full size or else open full size or issue a command which causes the page to scroll to the bottom? the user wants to continue using the printer icon associated with a preview. otherwise i would give the user an alternate preview that does not require scrolling to see the whole page.
>
> a similar question may have been posted recently and i recall the answer given was that preview controls are not accessible via programming. should the current form's keypress event not prevail into the preview dialog?
>
> Garth Groft

Use the reportlistener
http://msdn.microsoft.com/en-us/library/ms965279.aspx
it shows you how to control the zoom level.

Mike Gagnon
Refox XI +(English version)

ENTIRE THREAD

Controlling Preview Windows Posted by Garth Groft @ 7/14/2008 8:25:50 PM
RE: Controlling Preview Windows Posted by Mike Gagnon @ 7/14/2008 11:42:28 PM
RE: Controlling Preview Windows Posted by surinder singh @ 7/15/2008 6:23:37 AM
RE: Controlling Preview Windows Posted by Garth Groft @ 7/15/2008 4:04:04 PM
RE: Controlling Preview Windows Posted by Garth Groft @ 7/15/2008 4:36:14 PM
RE: Controlling Preview Windows Posted by Jun Tangunan @ 7/15/2008 6:27:17 AM
RE: Controlling Preview Windows Posted by ho me @ 7/16/2008 5:03:22 AM
RE: Controlling Preview Windows Posted by Garth Groft @ 7/16/2008 4:01:53 PM