Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timer
Message
From
05/04/1999 11:56:24
Bob Lucas
The WordWare Agency
Alberta, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Timer
Miscellaneous
Thread ID:
00205224
Message ID:
00205233
Views:
15
>Hi Bob,
>
>>Has anyone else experienced this kind of a problem? Any good reason why?
>
>Does the timer have a reference to the textbox? In that case you have to nullify the reference before releasing the form.
>
>Christof

Remember, this form worked absolutely fine in VFP5. My first assumption was a dangling object reference. So I checked everywhere. I have used this form since VFP3 which is my replacement for Jkey. When the timer fires it deletes the value of the textbox. The keypress event does an incremental search of records within a grid.

I assume the release process of the form does an implicit removeobject of all objects. When I added an explicit removeobject for the timer, the form closed properly. If there were any outstanding references, this wouldn't have worked either. But it did. The timer is not from a subclass.

Wierd.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform