Information générale
Catégorie:
The Mere Mortals Framework
Titre:
How to attach a Ref Collection to goApp...
Kevin,
Hi... we want to attach a reference collection to goApp to keep track of Instantiated find forms. Instead of relating a find form to a specific form, we want to relate it based on the master file for which the screen holds related data.
For example, all screens that have EE data will use aFindEE class, all forms that hold data for an Aplicant will use aFindRE class.
So, seems the best way to do this is to set up a RefCollection as a child of goApp, and have the FindForm register itself on init and deregister itself on destory.
So, my guess is to add the reference to the collection class in AddChildren of the application object? Is this correct?
BOb
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