Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Interaction between biz obj - design question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
00990572
Message ID:
00990758
Vues:
25
This message has been marked as a message which has helped to the initial question of the thread.
>>There is an event object in MM's that is meant for this type of thing (eg. when you have a process that requires a number of bizobjs to complete it's task).
>
>I know about Event object, but in my case I want to use some methods and properties of Calendar object inside the "main" biz object. Would Event object still work for me?

Yes, but I guess this really depends on how you are classifying what you are doing. If you're do some process that requires the interaction of a couple of bizobjs, then use the event class. If you are just doing something specific to a single bizobj that happens to require one or two other bizobjs, I would just instanciate them inside of my method(s) where I need them. If there is more than one method, then I prefer to create properties for each bizobj and create the references in the PostInitHook() (and add code to clear the references in the Destroy, eg. This.oMyBizObj = .NULL.).
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform