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:
00926201
Views:
12
>George
>
>Thats brilliant - thank you so much
>
>Then I assume that I need to run your class immeditely after it to keep the screen saver at bay - I have worked out that my program code need to go in my start up before the release in your code - am I right?
>
>Alternatively - since the screen will stay up for about 5 minutes - I could build the mouse drag into a timing loop
>
>What do you think?
>
>Thanks
>
Colin,

First, you're welcome.

Second, rather than turn it off immediately, I'd simply check to see if it's already running and, if so, turn it off via the MOUSE commands, then disable it. Note that you can also get the interval (in seconds) via the API call.

BTW, the RELEASE PROCEDURE statement does not release the object created. Further, if you set it (the object) to NULL, the Destroy event will automatically restore the screen saver.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform