Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to maximize preview window?
Message
 
 
À
08/08/2022 11:28:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01684805
Message ID:
01684813
Vues:
47
>>>>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
>>>
>>>Yes, Dmitry, the _Screen being invisible will pose a problem.
>>>
>>>You may turn the _Screen visibility on just to preview the report, and turn it off back again after the preview.
>>>
>>>Something like this:
>>>
>>>
>>>DEFINE WINDOW RepWindow [...] IN DESKTOP
>>>_Screen.Left = -_Screen.Width  && send the _Screen to where is not to be seen
>>>_Screen.Top = _Screen.Height
>>>_Screen.Visible = .T.  && but make it visible
>>>ZOOM WINDOW RepWindow MAX
>>>REPORT FORM [...] PREVIEW WINDOW RepWindow
>>>_Screen.Visible = .F.  && the _Screen is visible, again
>>>_Screen.Left = 0  && and back to its normal position
>>>_Screen.Top = 0
>>>RELEASE WINDOWS RepWindow
>>>
>>>
>>>Does this work like you were looking for?
>>
>>Exactly!!. Thank you, Antonio!
>
>Great, Dmitry!
>
>Just a note: it should be
>
>_Screen.Top = -_Screen.Height   && negative
>
>but, in fact, setting just one of the positional properties would be enough in any case...

Thank you, Antonio. I will make a change - for testing - as you suggest.
"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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform