>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