本文整理自网络,侵删。
function ritime(m:integer):integer;
var
ot:integer;
begin
ot := GetTickCount;
Repeat
Application.ProcessMessages;
Until ((GetTickCount - ot)>= longInt(m));
end;
相关阅读 >>
Delphi 2009 之 tstringbuilder 类[7]: tostring
更多相关阅读请进入《Delphi》频道 >>