你的意思好象是要每秒都做一件事吧?
如果是你就用TIMER控件

解决方案 »

  1.   

    if timer1.time=timer1.time+1000 then
    beginend;
      

  2.   

    tick=GetTickCount();
    while (GetTickCount()-tick<1000);
      

  3.   

    用Timer控制时间是不精确的。
    你用GetTickCount可以精确控制时间。
      

  4.   

    用 TIMER 或  GetTickCount
      

  5.   

    用Timer控件来取得时间1秒啦?
    注意Timer控件的时间转变
      

  6.   

    To xzhongjin(xzhongjin): 
    if timer1.time=timer1.time+1000 then ...
    ???
    同意大笨蛋~~~~~~~~~~~~~