![]() |
AW: Stopuhr programmieren
Ich danke dir.
|
AW: Stopuhr programmieren
Code:
und er sagt mir: "Inkompatible Typen: 'String' und 'procedure, untyped pointer or untyped parameter' ...
begin
If (Button1.Caption = 'Start') then begin startzeit := GetTickCount; Button1.Caption := 'Stop'; label1.Caption := 'Uhr läuft'; end else begin endzeit := GetTickCount; label1.Caption := label1.Caption := Format('Die Stoppuhr lief %.2f s.',[(endzeit-startzeit) / 1000]); Button1.Caption := 'Start'; end; end; Und nun? =) |
AW: Stopuhr programmieren
Zitat:
|
AW: Stopuhr programmieren
Huch .. ^^ wie peinlich :)
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:12 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