Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timer and event
Message
From
05/03/1997 14:21:21
 
 
To
05/03/1997 10:18:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00022890
Message ID:
00023009
Views:
41
>>Procedure Myobj.AnyEvent
>>
>>Timer1.SetCanBeDone(.F.)
>>* Do whatever you have to do
>>Timer1.SetCanBeDone(.T.)
>>
>>Return
>>
>>Procedure Timer1.SetCanBeDone
>>LParameters llCanIt
>>
>>This.CanBeDone = llCanIt
>>
>>Return
>>
>>Procedure Timer1.Timer
>>
>>If This.CanBeDone
>>* Do whatever you have to do
>>EndIf
>>
>>Return
>
>Isn't this the equivalent of what I have?

If you don't want to communicate directly between the two objects, you can implement your own call stack.
Alexandre Nobre
Alpha Bytes Computer Corp.

Did you know that there are innocent people dying in East Timor?
It helps if you do...

I suppose you don't need glasses if you're able to read this line

Previous
Reply
Map
View

Click here to load this message in the networking platform