>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement