Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug on timer, but not deterministic
Message
From
23/10/2003 14:58:36
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00840948
Message ID:
00841751
Views:
19
Hi Houston,

------
This is not a solution to the large number of (I assume unwanted) Timer events that queue up while your Timer event is busy. Unless the first thing your Timer event does is to disable itself, and does not re-enable itself on completion.
------

yes, but it is a start point

i use this on my timer
IF m.this.Enabled
  this.Enabled = .F.
  .... CODE ....
  this.Reset      && this is natural code, but i'm not sure it reset the queue  
  this.Enabled = .T.
ENDIF
To implement more complex, add a property a control it on timer event.

Fabio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform