Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question about data-objects
Message
De
04/02/2003 05:37:15
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Question about data-objects
Divers
Thread ID:
00748775
Message ID:
00748775
Vues:
67
Hi

I am creating a collection of data-objects and I want an object that each data-object can call for common requests.

Like an App-Data-Object? I want the data-objects to be self-contained however, so that I can create them in a form and not have to depend on this main app object.

The easy solution, to have a
CREATEOBJECT("MainAppDataObject")
in the Init of each data-object, however, the MainAppDataObject has to create other data-objects that it can talk to when it receives common requests, I can't have this if data-objects are also creating an instance of MainAppDataObject.

Any advice on how to handle this?

Thanks
Kev
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform