Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any know how to use George Tasker's Scrnsave task
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00925785
Message ID:
00926142
Views:
17
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform