Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Suicidal timer
Message
From
18/09/1997 16:51:10
 
 
To
18/09/1997 16:43:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00050612
Message ID:
00050614
Views:
21
>I have a timer control that has code in it that is supposed to execute once and only once 5 seconds after the form has initiated. I have placed in the end of the timer's timer event 'this.enabled = .F.' I was expecting this to cause the code to be executed only once, but it doesn't. the timer event fires continually after that. What am I doing wrong? TIA

IMHO, it should work Ok (I just made quick test). For more reliability, you could move This.Enabled=.f. to the beginning of event code. Maybe it will help.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform