I just checked and the screen saver did not interfere in my app. 

The screen saver activated after 5 minutes of inactivity.  In 10 minutes 

my form timer fired and ran the EEP right on time.   The EEP actually 

established control and the screen saver deactivated, showing the 

desktop and messages that were being updated on my form's status box. 



Looking at your code however, it looks like you may not be using the timer 

function as intended.  Is the code you have marked as " runs the form" actually 

in the form timer EEP or is this in a command file you are calling at start up? 



The form timer eep is set so that you give it a number in milliseconds and it 

runs that frequency automatically.  (It also does not use any cpu time of 
consequence 

during the count down )  I.E.   If you enter 60000, the EEP will run every 
hour. 



>From your code, I am not seeing how you are using the timer function.  If you 

can further elaborate, we might be of further assistance. 


-Bob 

----- Original Message ----- 
From: " ttc inc" < ttc [email protected]> 
To: "RBASE-L Mailing List" < rbase -l@ rbase .com> 
Sent: Wednesday, July 22, 2009 9:54:25 AM GMT -06:00 US/Canada Central 
Subject: [RBASE-L] - Re: Form timer issue 




I use a timer form 24 hours per day.  I do not remember having any issues with 
the screen 

saver, but have just turned one on to see if it does conflict. 



In the meantime, check to insure that you do not have stand by enabled in your 
screen saver. 

This will certainly stop the timer form. 



Right click on desktop 

properties 

screen saver tab 

power tab 

insure that system standby is set to "never" 



I will confirm if my screen saver conflicts with the timer. 



-Bob 



----- Original Message ----- 
From: " Ramsour Mike" <Mike. Ramsour @ aksteel .com> 
To: "RBASE-L Mailing List" < rbase -l@ rbase .com> 
Sent: Wednesday, July 22, 2009 9:34:19 AM GMT -06:00 US/Canada Central 
Subject: [RBASE-L] - Form timer issue 




Good morning: 



I created a timer form that does a countdown.  Once a given amount of time 
passes the calling program closes the form and continues on its merry way. 



The form works exactly as intended except that if the computer is in screen 
saver mode the program stays paused until I log back into the R:BASE session. 



Here's the code that runs the form: 



SET VAR VDB TEXT = ( CVAL ( 'DATABASE' )) 
IF VDB <> 'ZANEDATA' AND # TIME BETWEEN '06:00:00' AND '06:10:00' THEN 
  CLEAR VAR V % TIME , VSECS , VDISPLAY 
  SET VAR VCRNT_TIME TIME = .# TIME 
  SET VAR VTRGT_TIME TIME = ( RTIME ( 6 , 10 , 0 )) 
  SET VAR VSECS INTEGER = (. VTRGT_TIME - . VCRNT_TIME ) 
  SET VAR VDISPLAY INTEGER = . VSECS 
  EDIT USING COUNTDOWN 
  CLEAR VAR V % TIME , VSECS , VDISPLAY , VDB 
ENDIF 



And here's the EEP in the form: 



WHILE #TIME < . VTRGT_TIME THEN 
  SET VAR VSECS INTEGER = (. VTRGT_TIME - .#TIME) 
  SET VAR VDISPLAY INTEGER = . VSECS 
  RECALC VARIABLES 
  SKIP TO VDISPLAY 
ENDWHILE 
CLOSEWINDOW 
RETURN 



Is there some way around the screen saver issue or have I done something wrong? 



As always any assistance is greatly appreciated. 



Thanks - Mike Ramsour 



Confidentiality Notice This message is intended exclusively for the individual 
or entity to which it is addressed and may contain privileged, proprietary, or 
otherwise private information. If you are not the named addressee, you are not 
authorized to read, print, retain, copy or disseminate this message or any part 
of it. If you have received this message in error, please notify the sender 
immediately by e-mail and delete all copies of the message.

Reply via email to