Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form crashes foxpro
Message
 
 
À
21/09/2001 09:43:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00559199
Message ID:
00559224
Vues:
24
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform