>>>>Hello.
>>>>I use timer for display my form. As default the form left = -1000. When form will loaded, the timer must set correct posion for the form and must die.. but..
>>>>I place in timer.timer event next code
>>>>this.enabled = .f.
>>>>this.interval = 0
>>>>....
>>>>
>>>>But I see in coverage profiler. And timer.timer event occurs more then one time..
>>>>Can you explain that?
>>>
>>>Probably,
>>>
>>>Have you set the interval smaller then 10 or so? In that case it can happen that the timer event fires more then once i've seen.
>>>
>>>Hope this may help you,
>>
>>I have timer.interval=10.
>>When I change interval to 20.. nothing not happen.. timer event occurs many times
>
>Are you stepping trough the code.
>In that case the event will fire more then once too.
>Another way to check if the timer events fires more then once is outputting a text to the debugger output window or something like that.
>
>MyTimer.Timer:
>This.enabled = .f.
>This.interval = 0
>debugout 'Timer fired'
>
I looked execution of timer.timer event in VFP Coverage Profiler. I will see more.