Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preview Screen Size
Message
From
21/05/1998 17:57:17
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00100888
Message ID:
00100995
Views:
28
>>I don't use a resource file for my application. The only thing I'm having a problem with is previewing reports. The preview screen always comes up half sized. I would like it to always come up maximized. The only way I can seem to accomplish this is to enable the resource file and maximize the preview myself. Then each subsequent preview is maximized. As soon as I turn off the resource file its back to half sized every time. Is there any way to control this? Any feedback is most appreciated.
>>Thanks in advance,
>>Marcus.
>
>Marcus,
>
>I haven't tested this, so I'm not 100% sure it will work, but my guess is that it will. First, load the foxtools library, then after the REPORT FORM...PREVIEW command is issued add the NOWAIT clause. Immediately following that, try this:
>lnwhandle = _WOnTop()
>= _WZoom(lnwhandle, 0)
>This should cause the preview window to be maximized.
>
>hth,

Would this work for you??:

KEYBOARD "{Ctrl+F10}"
REPORT FORM (tcRptname) PREVIEW &&NOWAIT
Previous
Reply
Map
View

Click here to load this message in the networking platform