Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Close application when the main window x is clicked on
Message
De
04/08/2022 14:04:01
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01684781
Message ID:
01684790
Vues:
42
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform