![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
#2
|
||||
|
||||
|
Esto puede ser una pequeña idea:
Código:
private
{ Private declarations }
public
inicio:TDateTime;
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
procedure TForm1.Button1Click(Sender: TObject);
begin
inicio:=Now;
timer1.Enabled:=not Timer1.Enabled;
end;
procedure TForm1.Timer1Timer(Sender: TObject);
begin
label1.caption:=FormatDateTime('HH:mm:ss',Now - inicio)
end;
__________________
Guía de Estilo de los Foros Cita:
|
|
|
|