awaytimer SleepInterval property
Return to Introduction  Previous page  Next page
Applies to
acAwayTimer component.  

Declaration
property SleepInterval: Cardinal; // 5 minutes by default  

Description
The SleepInterval property specifies the time interval (in milliseconds), which should pass since last user activity till execution of the OnSleep event.  
 
tip For example, the OnSleep event will occur in 5 minutes of user inactivity (if user did not moved mouse and did not pressed keyboard buttons), if SleepInterval is 300000 (5 minutes = 300 seconds = 300000 milliseconds).  

See also
OnSleep event.