General information
Category:
Reports & Report designer
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only