Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timer
Message
De
28/10/1998 15:48:28
 
 
À
28/10/1998 13:29:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Re: Timer
Divers
Thread ID:
00151596
Message ID:
00151909
Vues:
19
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
Fil
Voir

Click here to load this message in the networking platform