AutoYield is what I was not remembering and it is not what I needed. I went thru the code and toggled timer.enabled (so that the timer event doesn't run over my method), added a form property so that I know when the timer method is running (so that I don't try to run over the timer event) and things seem to be running much better.
>I don't think this can happen. Usually, timer events stack up while another method is executing.
>
>from what I understand, autoyield pertains to Windows events, not internal VFP events, except when ActiveX controls are used, they play by their own rules.
>
>>You may want to look into the AutoYield property (try HELP AUTOYIELD). It determines whether events are processed between lines of code or only during a wait state.
>>
>>>I am beginning to think that a problem I am having is caused by a Timer firing up while a method is in the middle of executing. Is there something I can do about that?
>>>
>>>Thanks.
>>>
>>>Tom
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement