![]() |
Stoppuhr in StatusBar
Hallo Ihr Profis,
Hab da mal ein kleines Problem für Euch, für mich ein großes. Ich möchte gerne ne Stoppuhr in ne StatusBar einbauen. Hab es bisher so gemacht:
Delphi-Quellcode:
Das geht auch soweit sogut
if FTP.Connected then
begin Label4.Caption := inttostr(strtoint(Label4.Caption) + 1); end; if(strtoint(Label4.Caption) = 60) then begin Label3.Caption := inttostr(strtoint(Label3.Caption) + 1); Label4.Caption := inttostr(0); end; if(strtoint(Label3.Caption) = 60) then begin Label1.Caption := inttostr(strtoint(Label1.Caption) + 1); Label3.Caption := inttostr(0); end; nur sieht es mir nicht gut genug aus, und ich möchte dieses gerne in ne Statusbar haben, wo es dann z.B. Serververbindungszeit: 00:00:00 angezeigt wird. hab auch schon was von der GetTickCount Variante gehört und gelesen, aber irgendwie komm ich nicht weiter. :wall: Wär schön wenn mir einer weiterhelfen könnte mit ner Lösung oder was Ihr so auf Lager habt |
DP-Maintenance
Dieses Thema wurde von "Phoenix" von "Programmieren allgemein" nach "Sonstige Fragen zu Delphi" verschoben.
Delphithema -> Delphi Sparte |
Re: Stoppuhr in StatusBar
Such mal in der CodeLibrary da gibt es was ;-)
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 13:56 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz