Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Maximizing Print Preview - A challenge
Message
From
20/11/1997 11:28:59
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00061037
Message ID:
00061401
Views:
41
>>>>>I am using VFP 3.0 for Windows.
>>>>>
>>>>>I would like to ensure that the print preview window is maximized each time a user runs a report. Could anyone tell me how to do this?
>>>>>
>>>>>I have done a search and the solutions listed are for VFP 5.0 or they mention setting the window size in Foxuser.dbf (which is flawed because the user can reset this).
>>>>
>>>>I think I once made foxuser.dbf read-only in a 2.6 app for this same reason... to have a window open in a set way no matter it's state when last closed. You can't still do that in 3.0 Evan?
>>>
>>>Okay, I could make that read-only, but then I have to ensure the proper value is set to make the report maximized. I had a look in Foxuser.dbf and it didn't make much sense.
>>>
>>>I am worried about making the file read-only since I am unsure about what exactly it is used for.
>>
>>
>>I don't know if this works in VFP 3.0 but it works in VFP 5.0
>>
>>Define window w_rpt FROM 0,0 TO SROWS(), SCOLS()
>>REPORT FORM FileName1 PREVIEW WINDOW W_RPT
>>
>Chuck,
>
>Thanks, but that is 5.0 syntax.

Hi,
Not smart but works :
keyboard "{Ctrl+F10}"
report form anyreport preview nowait
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform