Information générale
Catégorie:
Codage, syntaxe et commandes
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?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement