Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Objects in a collection
Message
From
12/10/2003 01:12:25
 
 
To
11/10/2003 14:52:52
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00837839
Message ID:
00837884
Views:
25
Hi,

how about adding a method to the
collection class, which you call
when an object is added to your collection ?

In this method you can add a standard property
to the objects to be added (if it is not there already -
it should be there by way of inheritance if using your objects)
and filled with a reference to the object
where you want to call the specific new behavior.

I wouldn't use the collection itself,
but an object of it - coupling should probably
be loose here.

hth

thomas
Previous
Reply
Map
View

Click here to load this message in the networking platform