General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only