Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Previewing in Word only
Message
De
13/07/2001 09:17:44
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00528482
Message ID:
00530185
Vues:
28
>
>DECLARE integer Sleep in Win32API integer
>loWord.Visible=.T.
>loWord.ActiveDocument.PrintPreview
>#DEFINE nLimitation 300
>i = 1
>do while loWord.PrintPreview AND i<=nLimitation && loop until we're in the print
>                     &&preview mode or time limitation reached
>  sleep(1000)
>enddo
>loWord.ActiveDocument.CLose.....
>.....
>
That works like a charm. However, even if the VFP application is freeze, we can still click on it and we see that the sceen if not refreshed. How can we disable VFP during that time? Basically, presently, the user can click on the taskbar to bring it frontmost. I would like to lock that ability during that time.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform