Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timer question
Message
De
16/12/2004 16:17:12
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
16/12/2004 16:08:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00969839
Message ID:
00969842
Vues:
8
This message has been marked as a message which has helped to the initial question of the thread.
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.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform