Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Maximizing Print Preview
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00656442
Message ID:
00656448
Views:
6
>Hi,
>
>Pretty new to VFP. When calling a report using VFP 7, the Report always appears minimized in Print Preview. Is there any way to specify that the Report is maximized when calling the report ? Thanks in advance.

There are several ways:
KEYBOARD "{Ctrl+F10}"
REPORT FORM myreport PREVIEW
or define the window for your report, activate it, maximize and preview your report in that window. (see help for REPORT FORM command for more info on this one) like:
DEFINE WINDOW wMyReport FROM 0,0 TO 100,200 TITLE "My Report Preview" SYSTEM CLOSE
ACTIVATE WINDOW wMyReport
ZOOM WINDOW wMyReport MAX
REPORT FORM myreport  WINDOW wMyReport TO PRINT PREVIEW [IN SCREEN] NOCONSOLE
RELEASE WINDOW wMyReport
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform