Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form crashes foxpro
Message
From
21/09/2001 09:51:25
 
 
To
21/09/2001 09:43:14
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00559199
Message ID:
00559224
Views:
25
Usually time event looks like following:

lnInterval = this.Interval
this.Interval = 0
... Do some actions in timer event
this.Interval = lnInterval

this is because when actions done in timer event are quite slow, second timer event can fire after the period of time passed and thus can cause extra timer firing or even application locking and finally crash. Seems this is not a case in your application, however, before form releasing from timer event, set Interval to zero. Try this and let know if it helped.

HTH.

>Thank you for your suggestion. I will try to remove some parts of the form, though that is, unfortunately, a massive job.
>
>As for your timer question, I don't quite follow. My timer is set to check every second if a flag has been set. If so, then I run ThisForm.Release and ThisFormSet.release. Where does the enabled property come into play?
>
>Thanks.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform