Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi farbe labelx.caption (https://www.delphipraxis.net/1832-farbe-labelx-caption.html)

Timo 26. Dez 2002 21:58

ahhhh ... ich suche so etwas wie ein delay in turbo pascal - also ne art verzögerung ... wenn bei dem prog dann nichts mehr geht mit sleep dann ist mir alles klar ...

gibt es denn ne delay funktion?

Luckie 26. Dez 2002 22:05

Delphi-Quellcode:
procedure delay(msec:longint);
var
  start,stop:longint;
begin
  start := gettickcount;
  repeat
  stop := gettickcount;
  application.processmessages;
  until (stop - start ) ›= msec;
end;

Timo 26. Dez 2002 22:10

danke ... jetzt klappts ...


Alle Zeitangaben in WEZ +1. Es ist jetzt 20:52 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz