Delphi-PRAXiS
Seite 3 von 3     123   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Warten Befehl? (https://www.delphipraxis.net/156116-warten-befehl.html)

wolfgang_SV 20. Nov 2010 16:49

AW: Warten Befehl?
 
ich hab mir folgende delay_procedure geschrieben, die
so funktioniert wie ich mir das vorstelle.

Delphi-Quellcode:
procedure mein_delay(msec:longint);
  var
  Start,Stop:extended;
  begin
    start := gettickcount;
    repeat                                      
    stop := gettickcount;
    application.processmessages;
    until (stop - start ) >= msec;
  end;


Alle Zeitangaben in WEZ +1. Es ist jetzt 04:30 Uhr.
Seite 3 von 3     123   

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