Information générale
Catégorie:
The Mere Mortals Framework
>>>Why doesn't MyForm have an instance of AnotherBizobj on it?>>
>Well, methods of AnotherBizObj could be used all over the apps, on the about 5-6 forms. I am not sure if this is a good technique to put this bizobj on all those forms just to use one or two methods. But I can be wrong.
>
If a method needs to used in multiple forms then it might be best to put it on the application object (goapp) or a business object that has a reference on goapp. We use this technique with a GL Manager business object that we instantiate at application load to the application object so we end up with calls to goapp.oglmanager.
HTH
Dan
Précédent
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