Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- procedure TForm1.Delay( const msecs:integer);
- var FirstTickCount: longint;
- begin
- FirstTickCount:=GetTickCount;
- repeat
- Application.ProcessMessages;
- until ((GetTickCount-FirstTickCount) >= Longint(msecs));
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement