Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to maximize preview window?
Message
From
08/08/2022 03:19:47
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01684805
Message ID:
01684807
Views:
63
Likes (1)
>Hi,
>
>I am displaying a report preview in a window. Here is the code:
>
>DEFINE WINDOW RepWindow FROM 1, 1 TO 20, 20 TITLE "My Procedures"   
>
>ZOOM Window RepWindow Max
>
>report form ReportFrxFile all noconsole to printer prompt PREVIEW WINDOW RepWindow
>   
>RELEASE WINDOW RepWindow
>
>
>The problem I have (with the above code) is that the preview window (RepWindow is not shown maximized. And the MAX button (in the upper right corner) does not exist.
>
>What am I missing?

Dmitry,

Other than what Al suggested, just add
ZOOM MINIMIZE CLOSE GROW
to the window definition clauses to get the usual controls in the title bar, and
IN DESKTOP
if you want the window out of the VFP main screen boundaries.
----------------------------------
António Tavares Lopes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform