awaytimer OnScreenSaverStart event
Previous  Top  Next
Applies to
umAwayTimer 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.umAwayTimer1ScreenSaverStart(Sender: TObject);  
begin  
  acWavPlayer1.Play;  
end;  

See also
OnScreenSaverEnd event.