Results 1 to 2 of 2

Thread: Events from collection of objects

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2001
    Location
    MA, US
    Posts
    78

    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

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: Events from collection of objects

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width