Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question about data-objects
Message
From
04/02/2003 05:37:15
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Question about data-objects
Miscellaneous
Thread ID:
00748775
Message ID:
00748775
Views:
66
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
Next
Reply
Map
View

Click here to load this message in the networking platform