Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to maximize preview window?
Message
 
 
To
08/08/2022 03:19:47
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01684805
Message ID:
01684808
Views:
44
>>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.

Antonio,

Thank you for your message. I added the ZOOM MINIMIZE CLOSE GROW to the DEFINE window and I do now see the controls in the title bar. Thank you.
But the IN DESKTOP does not seem to work. Do I add it to the DEFINE WINDOW clause? And does it matter that the config.fpw has SCREEN=OFF?

TIA
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform