Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print preview
Message
De
21/05/1997 15:27:46
 
 
À
21/05/1997 15:23:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00033115
Message ID:
00033158
Vues:
52
>>>>>>O.K. I figured out why the preview was burried. I have desktop set to true. How do I get the print preview to be on top when I have desktop set to true?
>>>>>
>>>>>Have you tried something like:
>>>>>
>>>>>.desktop = .f.
>>>>>report preview etc...
>>>>>.desktop = .t.
>>>>>
>>>>>/Paul
>>>>
>>>>Don't do this. Desktop is read-only in run-time. Instead of this use:
>>>>Thisform.hide
>>>>report form .... preview
>>>>Thisform.Show
>>>
>>>How about the case where I have 3 form open at once?
>>
>>The easiest answer is to hide/show all of them. But sophisticated people would advise ZOrder.
>
>In order to do what I wanted I didsomething like this
>
>_screen.left = 0 &&to get back the VFP main window
>report form report1 preview
>_screen.left = -2000 &&to get ride of VFP main window
>
>Does this seem like a efficient approach?

It would be even more efficient if you would say from the begginning that _SCREEN was out. This trick has been answered many times on UT before.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform