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" <[email protected]> 
To: "RBASE-L Mailing List" <[email protected]> 
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