General information
Category:
Coding, syntax & commands
I have just completed converted a VFP5 application to VFP6. One interesting problem I ran into had to deal with a form that would not release. In VFP5 it released fine (a lookup form with a timer) but in VFP6 it would not release.
I traced the problem to the timer on the form (which I use to remove characters from a text box after 2 - 3 seconds).
I solved the problem by adding to the queryunload method
thisform.removeobject('Timer')
Now it works fine, but it is very odd that the releasing the form would not remove the timer object.
I even tried the form with the timer always disabled but I still needed the removeobject.
Has anyone else experienced this kind of a problem? Any good reason why?
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