Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timer question
Message
De
16/12/2004 16:20:56
 
 
À
16/12/2004 16:17:12
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00969839
Message ID:
00969844
Vues:
10
Thanks for the feedback.

I have been using the Interval property and I just ran into an example code that uses the Enabled property. I didn't even know that until now. I agree that Enabled is more clear.

>I am not aware of a difference in the way both approaches work. In the meantime, and unless somebody comes up with a difference in performance, I would recommend .Enabled = .F., just to make your code clearer.
>
>>Hi all,
>>
>>Which one is the better approach (recommended) to turn the timer off/on during runtime:
>>
>> Timer.Enabled = .F.
>> or
>> Timer.Interval = 0
>>
>>Maybe it doesn't really matter which. Just wondering.
ramil
~~ learning to stand still
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform