Re: Displaying a message at specified time


[ Related Articles and Replies ] [ DelphiLand FAQ ] [ Delphi Tutorials ]

Posted by Rbrrneck on August 29, 2002 at 09:45:20:

In Reply to: Re: Displaying a message at specified time posted by Met@ on August 28, 2002 at 20:07:57:

try puting this code in the timers on timer event:
procedure TForm1.timer1timer(sendr:tobject);
begin
if TimeToStr(time)='12:00:00' then Showmessage('Cant belive it works , ypeee!');
end;
don't forget to add sysutils to the uses list, I suggest to put the timer to 800 miliseconds...


Related Articles and Replies:


[ DelphiLand FAQ ] [ Delphi Tutorials ]