Events from collection of objects
Hi,
I need to use an unspecified number of similar objects that can fire events. I tried to add them after creation to a collection. It does work correctlly, except that I cannot receive the events that the objects fire. I do receive only the events from the last object added to the collection. I feel that I missed something.
Any help will be appreciated.
Thank you,
svatasoiu
Re: Events from collection of objects
Quote:
Originally posted by svatasoiu
Hi,
I need to use an unspecified number of similar objects that can fire events. I tried to add them after creation to a collection. It does work correctlly, except that I cannot receive the events that the objects fire. I do receive only the events from the last object added to the collection. I feel that I missed something.
Any help will be appreciated.
Thank you,
svatasoiu
Can you show some code.. you probably need to assign delegates to handle the events for the objects