Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timer
Message
From
05/04/1999 11:32:03
Bob Lucas
The WordWare Agency
Alberta, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Timer
Miscellaneous
Thread ID:
00205224
Message ID:
00205224
Views:
55
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
Map
View

Click here to load this message in the networking platform