awaytimer OnScreenSaverStart event
Return to Introduction  Previous page  Next page
Applies to
acAwayTimer component.  

Declaration
property OnScreenSaverStart: TNotifyEvent;  

Description
The OnScreenSaverStart event occurs when the component detects that screen saver program became active.  

Example (this will play sound on starting the screen saver)
procedure TForm1.acAwayTimer1ScreenSaverStart(Sender: TObject);  
begin  
  acWavPlayer1.Play;  
end;  

See also
OnScreenSaverEnd event.