>>Why is a timer an element of user interface??
>
>Paul, I'm not entirely sure why, but I suspect that it's a matter of the interface to the Windows Event loop that causes the problem; the single best clear indication of this is that I've had standalone timer objects failing to trigger in a tight loop without the introduction of a DOEVENTS to the loop. Perhaps you have a better explanation for this behavioral anomaly?
I surely do have a better explanation: VFP is not multithreaded. Basically, it's impossible to have a reliable timer in a single threaded app.
When I say that timers are not user interface elements I mean that they can be used in VFP apps without any UI.
Vlad
Précédent
Suivant
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