Mega Code Archive
Categories
/
Delphi
/
Examples
Put current time to the title
Title: Put current time to the title Use Timer component and this code for onTimer event. procedure TForm1.Timer1Timer(Sender: TObject); begin Form1.Caption:=DateTimeToStr(Now); end;