Autor Beitrag
DelphiDelphin
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 181



BeitragVerfasst: So 20.03.05 21:25 
Wie kann ich machen dass es in einem TLabel die Zeit in Stunden, Minuten, Sekunden Angezeigt wie lange dass Programm schon offen ist ???
wulfskin
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1349
Erhaltene Danke: 1

Win XP
D5 Pers (SSL), D2005 Pro, C, C#
BeitragVerfasst: So 20.03.05 21:44 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
private
  FStartTime: TDateTime;

//OnCreate
  FStartTime := Now;

//Timer
  Label1.Caption := TimeToStr(Now - FStartTime);
GRuß hape!

_________________
Manche antworten um ihren Beitragszähler zu erhöhen, andere um zu Helfen.