Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VMP4, timer action first time through.
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00345001
Message ID:
00345784
Views:
29
>I am using the messagebox as a debug. It pops up everytime the timeraction fires. I was using this to veryify that timeraction was not firing the first time, thus, the messagebox would not appear. I agree, it would be silly to put a messagebox in a timer event unless you were using it as a mechanism to implement a nag screen or something. Thanks.

Why not sub-class the timer, and add a logical property. In the Timer Event add something like:
IF NOT This.lFired
* Your message box here
This.lFired = NOT This.lFired
ENDIF
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform