Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing Form
Message
De
02/05/2000 13:16:17
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00365147
Message ID:
00365181
Vues:
12
>I have a form with a _traceawaretimer (a VFP foundation class) that closes OK as long as the timer event doesn't fire. The code in the timer event is :
>
>DODEFAULT()
>=MESSAGEBOX(THIS.NAME)
>
>I have a button whose click event is :
>
>SET STEP ON
>
>I was testing the _traceawaretimer class, which slows the timer interval during debugging. Once the Trace window shows up though, I can no longer close the form. Any ideas?

I have found timers to be twitchy critters in VFP. Not bad ones, just twitchy. We've had better luck instantiating timers in memory, not bound to a form. If I wanted the timer to be dependant on the form. I would instantiate it during the load() of the form, and release it during the destroy().

We had a case where timers were changing the current data session when they fired which was rather problematic.

Regards,

Jason
Jason Tryon
Senior Systems Analyst / Technical Lead
eBusiness / iPage
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform