Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any know how to use George Tasker's Scrnsave task
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00925785
Message ID:
00926142
Vues:
18
>George
>
>Sorry I emailed you directly but I didn't think I would get the answer I needed from anyone other than you
>
>This is the code I have tried
>
>This is my startup program
>
>clear
>set talk off
>set exact on
>SET PROCEDURE TO ScrnSave ADDITIVE
>oSaver = CREATEOBJECT('ScreenSaver')
>oSaver.disableScreenSaver
>RELEASE PROCEDURE ScrnSave
>
>I run the program and the screen saver still starts up - what am I missing?
>
>Thanks
>
>Colin


Hello Colin

I could be wrong, but i think the oSaver object gets destroyed when you release the procedure file. therfor the dstroy event in the object gets fired. in that event the screensaver gets reinstated. try simply without releasing the procedure and see what happens.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform