Information générale
Catégorie:
The Mere Mortals Framework
Versions des environnements
Network:
Windows 2003 Server
Naomi,
Do you have the call to the Add method in the SubjectTypesObj’s SetParameters method? Have you verified that the subject name in the Add method call matches the name of your subject? You could always trace the Add method of the observer to make sure it is getting registered correctly in the observer manager.
HTH
-Dan
>Hi everybody,
>
>I could not figure out why one of my form where I put an observer does not run its ProcessUpdate method.
>
>This form calls another form with the biz object that has subject associated with it. In the biz object OnStateChange method calls eventually Notify method of the subject, but I see that this method returns 0 for observer's count and therefore does nothing.
>
>I believe I set observer correctly on my main form, but it just does nothing.
>
>What could be a problem here?
>
>Thanks a lot in advance.
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