Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP objects talking to each other
Message
From
05/12/2002 07:26:15
 
 
To
05/12/2002 07:08:50
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00729821
Message ID:
00729825
Views:
29
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
Map
View

Click here to load this message in the networking platform