Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excesive local area access when using timer
Message
De
12/03/2004 15:08:44
 
 
À
12/03/2004 14:53:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00885494
Message ID:
00885776
Vues:
8
There must be a better way to track the window than by using a timer. If someone moves, then closes the window within the 1 second period the changes won't be tracked, anyways. Is there not some way to hook into a Close event of the preview window?

The only comment I can make about your Timer code is that in general you want to disable the timer while you're running the .Timer event, then re-enable it after:
This.Enabled = .F.

* your code here

This.Enabled = .T.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform