Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Close application when the main window x is clicked on
Message
From
04/08/2022 14:04:01
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01684781
Message ID:
01684790
Views:
41
>Antonio,
>What you wrote makes sense. But there is one problem. The main form calls a modal form and that modal forms creates a report (in a preview mode). So, if I do not have the _screen and only the main form, the report preview will only be shown within the size of the main window/form. Therefore, in order to be able to view the report in full screen (in a preview mode), I had to go with the _screen.
>Does it make sense?
>
No you don't need _screen. Report... preview window {window name here}

And that window name can be any form.name, so create a blank form with properties you like, instantiate it, not sure whether you even have to .show() it, and just do ...„preview window (myform.name)“. Don't put „preview IN window“, because it will create a new child window inside that window, which then means you'd have two sizes to care about.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform