Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timer question
Message
From
16/12/2004 16:17:12
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
16/12/2004 16:08:04
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00969839
Message ID:
00969842
Views:
9
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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform