Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Major Bug - BINDEVENTS
Message
De
23/12/2004 14:57:27
 
 
À
23/12/2004 14:33:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00971680
Message ID:
00971898
Vues:
29
Hi Mike. Long time.

>What you want to do is pass an object parameter to your delegate. The delegate can set a property on the object, and when control is returned to the method that raised the event, the new value of the property can be retrieved, and you can return this value from the method.
>
>You shouldn't be building a design based on the return values of delegates, but the above strategy is optimal for accomplishing just that.

We may have to use a variation the above. However, where is it said that the return value of delegates should not be used for anything? This should be a feature of BindEvents that is consistent, no?
- Jeff
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform