A form of delay

Diposting oleh Source Code Program | 20.17 | | 0 komentar »

procedure Delay(ms : longint);
var
TheTime : LongInt;
begin
TheTime := GetTickCount + ms;
while GetTickCount < TheTime do Application.ProcessMessages;
end;

0 komentar