Foros Club Delphi

Foros Club Delphi (https://www.clubdelphi.com/foros/index.php)
-   Trucos (https://www.clubdelphi.com/foros/forumdisplay.php?f=52)
-   -   Mostrar la hora en la barra de tareas (https://www.clubdelphi.com/foros/showthread.php?t=80563)

dec 30-06-2006 13:58:39

Mostrar la hora en la barra de tareas
 
Mostrar la hora en la barra de tareas

Código Delphi [-]
Procedure TForm1.AppIdle(Sender: TObject; var Done: Boolean);
begin
  Application.Title := FormatDateTime( 'hh:nn:ss', Now );
  Done := False
end;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Application.OnIdle := AppIdle;
end;


La franja horaria es GMT +2. Ahora son las 08:22:16.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi