本文整理自网络,侵删。
function ritime(m:integer):integer;
var
ot:integer;
begin
ot := GetTickCount;
Repeat
Application.ProcessMessages;
Until ((GetTickCount - ot)>= longInt(m));
end;
相关阅读 >>
Delphi xe 取得 app 自己的版本号 (狠跨 4 个平台)
更多相关阅读请进入《Delphi》频道 >>