当前位置:Delphi园地 → 技巧文章 → 编程心得 → Delphi中延时 begin FirstTickCount:=GetTickCount; end; (出处:www.delphibbs.com)
Delphi中延时
日期:2004年8月31日 作者:
procedure Delay(msecs:integer);
var
FirstTickCount:longint;
repeat
Application.ProcessMessages;
until ((GetTickCount-FirstTickCount) >= Longint(msecs));
