Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preview in maximized window?
Message
From
18/10/2000 07:35:26
 
 
To
18/10/2000 06:09:20
Jill Derickson
Software Specialties
Saipan, CNMI
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00430752
Message ID:
00430796
Views:
22
>Doug,
>
>>Does anybody know how to make sure a report preview is maximized when it appears?
>
>Try:
> KEYBOARD '{Ctrl-F10}' && make preview window maximum
> REPORT FORM ( RptName ) PREVIEW

Alternatively, you can use the FOXUSER resource file to permanently make a report preview always open maximized. With SET RESOURCE ON, run the report for preview and maximize it. Close the report. Turn off the RESOURCE file (SET RESOURCE OFF). Open FOXUSER.DBF, and find the record that describes the positioning of the report in preview (The Type field will have a value "REPORTPOS", and the Name field (a memo field) will contain the name of the FRX file it applies to, eg UPPER(Name) = 'MYREPORT.FRX') Change the value of the Readonly field to .T. and close FOXUSER.DBF

From now on, that specific report will always open in Preview maximized. If you need this behavior on all systems, make sure that each user's FOXUSER.DBF has the same record in it. The setting is individually handled for each report; it has the advantage that it opens the Preview already maximized, rather than expanding to maximized as a result of the {Ctrl-F10}, but it has to be done for each report that you want to have this behavior. It does give you report-by-report control over maximization, or non-maximized layouts that appear positioned in the same place on the screen each time.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform