Delphi中延时

豆豆网   技术应用频道   2007年03月20日  【字号: 收藏本文

本文详细介绍Delphi中延时

procedure Delay(msecs:integer);
var
FirstTickCount:longint;
begin
FirstTickCount:=GetTickCount;
repeat
Application.ProcessMessages;
until ((GetTickCount-FirstTickCount) >= Longint(msecs));
end;

责编:豆豆技术应用

正在加载评论...