Time em Label...
como colocar um timer e fazer a hora funcionar em um label??
valeu...
valeu...
Anonymous
Curtidas 0
Respostas
Okama
31/03/2003
No evento ontimer:
Label1.Caption := FormatDateTime(´hh:mm:ss´, Now);
Label1.Caption := FormatDateTime(´hh:mm:ss´, Now);
GOSTEI 0
Anonymous
31/03/2003
No evento ontimer:
Label1.Caption := FormatDateTime(´hh:mm:ss´, Now);
e para a data?
GOSTEI 0
Okama
31/03/2003
substitua o formato:
Label1.Caption := FormatDateTime(´dd/mm/yyyy´, Now);
Label1.Caption := FormatDateTime(´dd/mm/yyyy´, Now);
GOSTEI 0
Marcelo
31/03/2003
como colocar um timer e fazer a hora funcionar em um label??
valeu...
Vove pode fazer assim tambem:
Label1.Caption:=DateToStr(Date);
ou
Label1.Caption:=DateToStr(Now);
Valeu?
At+...
GOSTEI 0