Information générale
Catégorie:
Programmation Orientée Object
>>Any way to implement that in VFP 5.0
>
>I don't know of a clean way to implement raising events in VFP 5 without adding too much overhead. For this particular problem, in VFP5 you could do something that isn't quite as elegant by adding an additional observer object to the form itself. Basically, a subscriber would register itself with the form-level observer AND the application-level observer. When the form is Destroyed, it can send a corresponding message to all registered observers.
>
>Regards,
Ok. But in answer to Steve's question. Where would you un-subscribe if you were using VFP 5.0 instead of VFP 6.0.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement