Delphi中進行延時的4種方法

 一、掛起,不佔CPU sleep 二、不掛起,佔cpu procedure Delay(msecs:integer); var FirstTickCount:longint; begin FirstTickCount:=GetTickCount; repeat Application.ProcessMessages; until ((GetTickCount-FirstTickCount) >=
相關文章
相關標籤/搜索