P peng_qs Unregistered / Unconfirmed GUEST, unregistred user! 2002-05-22 #3 procedure MyTimerEvent(Sender: TObject); timer1 := TTimer.Create(application); timer1.interval := 1000; timer1.OnTimer := MytimerEvent;
procedure MyTimerEvent(Sender: TObject); timer1 := TTimer.Create(application); timer1.interval := 1000; timer1.OnTimer := MytimerEvent;
B beta Unregistered / Unconfirmed GUEST, unregistred user! 2002-05-23 #4 uses ..., ExtCtrls; 然后用 peng_qs 的办法应该就可以了
B beta Unregistered / Unconfirmed GUEST, unregistred user! 2002-05-29 #5 或者直接用 Windows API: SetTimer 别忘记了,控制台程序是有句柄的