Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timer and event
Message
De
05/03/1997 14:21:21
 
 
À
05/03/1997 10:18:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00022890
Message ID:
00023009
Vues:
37
>>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

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform