Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ken Blum
  Where is Ken Blum?
 Chicago
 Illinois - United States
 Ken Blum
 To: Craig Moore
  Where is Craig Moore?
 
 United Kingdom
 Craig Moore
 Tags
Subject: RE: timer problem
Thread ID: 22011 Message ID: 22020 # Views: 2 # Ratings: 0
Version: Visual FoxPro 7 Category: Classes and Objects
Date: Monday, April 07, 2003 4:43:31 PM         
   


> Hi all, I have a problem, please help it’s driving me nuts.
>
> I have a class, in the init of this class I add I timer This.AddObject('timer1', 'tRun')
>
> In the timer event of the timer I simply have this.parent.runjobs()
>
> When I call this method below I pass through .t. or .f., when I pass through .f. the timers interval should be set. The problem is the timer never fires, but if I step through it fires fine, what is going on?
>
>
> Param plWait
> 
> IF plWait = .f.
> *	SET STEP ON 
> 	this.timer1.interval = 50
> ELSE
> 	this.runjobs()
> endif
> 

>
> Many thanks,
>
> Craig

What do you mean "If I step through it"?
Is Timer1.Enabled = .T.? Remember that this turns timers On/Off also.

KTB

COMPLETE THREAD

timer problem Posted by Craig Moore @ 4/7/2003 3:09:31 PM
RE: timer problem Posted by Paul Brown @ 4/7/2003 4:33:40 PM
RE: timer problem Posted by Ken Blum @ 4/7/2003 4:43:31 PM