Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to display a report maximized
Message
 
To
20/09/2006 07:22:04
Prashant Dongare
Micropro Software Solutions
Nagpur, India
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01155439
Message ID:
01155740
Views:
26
>I am using VFP 8.0
>I have created a MDI form and use the same as my desktop for the application.
>To preview the reports I use _screen
>The code is as follows:
> _screen.Visible = .T.
> _screen.WindowState = 2
> REPORT FORM rptCustomerMaster PREVIEW IN SCREEN TO PRINTER PROMPT
> _screen.Visible = .F.
>Now the problem is I am not able to show the report window so generated as maxzimized.
>Can anyone please suggest me a solution.

There are several solutions to this. One is to create a form with WindowState set to 2, as Agnes suggests, and send your report to that form.

Another is to SET RESOURCE TO a file that you ship with the app. If you run the report yourself and maximize it before you deliver the app, that setting will be stored in the resource file.

The easiest way (I think) is to put a ZOOM WINDOW MAX command in the BeforeOpenTables method of the report's DE.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform