General information
Category:
Object Oriented Programming
I believe that it is "Best Practice" to invoke a mediator for this purpose. The parent object should communicate with both objects. In this case the object which triggers the event should notify the Parent object and then the parent object should take any necessary actions with it's children objects.
Glenn
>Hi
>
>What's the best way to do the following? I have an object that needs to call methods in another object.
>
>Is it best to create the object you want to talk to, in a property on the object?
>
>Or are there other/better ways?
>
>Thanks
>Kev
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only