Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excesive local area access when using timer
Message
De
12/03/2004 16:33:15
 
 
À
12/03/2004 15:08:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00885494
Message ID:
00885817
Vues:
12
>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?

BINDEVENT would be much better, but I don;t know how to get an object reference to the preview window. WROWS(), and the other routines find the window via its name, but don't provide an object reference.

>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.
Thanks.

Alex
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform