View Single Post
  #2  
Old 06/04/2005
Investment's Avatar
Investment Investment is offline
Miembro
 
Join Date: May 2003
Posts: 378
Rep Power: 24
Investment Va por buen camino
El componente Timer de la pestaña System te puede servir.

En el interval pones cada cuanto tiempo se va a ejecutar tu funcion y listo.

Ten en cuenta que si el interval es 1000, se ejecuta tu funcion cada segundo
para ejecutarlo cada hora deberias poner un interval de 3600000

En el evento Ontimer:

Code:
procedure Tform1.Timer1Timer(Sender: TObject);
begin
  //Pon aqui la llamada a tu funcion
  Ejecutar_Funcion1(tal,cual);  //por ejemplo
end;
__________________
Saludos,
Peter Investment
Reply With Quote