General information
Title:
Objects in a collection
I've started using collection classes to hold multiple objects. I would either like to get the objects in the collection to inherit properties of the collection class when they are Added to the collection, or be able to reference the properties of the collection class from the object in the collection. The objects in the collection are "owned" by the collection class in the way they are by a container class so I can't use the Parent designation. Is there any easy way to reference methods and properties of the collection from the collection's objects?
Thanks.
Rick Grinter
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only