Jerry,
if prg-based, along the lines of
define class Timerform as BaseForm
Add Object oTmr as _tmrRT with Enabled=.f.
procedure init
this.oTmr.Enabled = .t.
READ EVENTS
enddefine
if the form is vcx-based, add the timer visually.
HTH
thomas
>but I'm not sure I understand. what should I do to fix it?
>
>>>
>>>but no respond, what am I missing?
>>
>>when the init is done, the timer variable will be released ?
>>As in probably before first fire ?
>>Put the reference into a form property..
>>
>>Furthermore there is much to be said for always having a base class,
>>in timers having base code disabling timer when debugger is running for starters ;-)
>>
>>HTH
>>
>>thomas