Raising events from objects in a collection 
Author Message
 Raising events from objects in a collection

I have the very simple answer to your question but I'm afraid you will have
to wait till at least 08/21/02 to get it.

:)


Quote:
> Does anyone know of some type of routine to respond to events of objects
in
> a collection.
> For example:

> -objDoor is an object which has an "Opened" event
> -colDoors is a collection of objDoor objects

> To repond to the event with just an object, you would code:

> Sub objDoor_Opened()
> 'code when door has opened
> 'yadda yadda yadda
> End Sub

> But what if there were several - or several hundred - objDoor "items"
> (objects) in an objDoors collection, and one of them doors opened. How
would
> you respond to that?



Mon, 17 Feb 2003 09:48:58 GMT  
 Raising events from objects in a collection
If you setup a filter, you can successfully make it go away.  Under OE5 (and
probably 4 too), select:

View   [menu]
  Current View   [menu]
    Define Views...   [menu]
      New...   [command button]
        Where the message is watched or ignored   [check box in ListView]
        Watched or Ignored   [link inside the RichTextBox]
          Ignore Threads   [radio button]
          Ok   [command button]
        Show/Hide   [link inside RichTextBox]
          Hide Messages   [radio button]
          Ok   [command button]
        Ok   [command button]
      Apply View...   [command button]
        All of my folders   [radio button]
        Ok   [command button]
      Ok   [command button]

Now just click the whitespace under the eye glass [Watch / Ignore] column a
couple of times to ignore the thread.  The next time you refresh the display
[F5], the thread will go away.

--
Howard Henry Schlunder
 Winamp is currently playing:
 No Doubt - dark blue


Quote:
> Can I delete this thread from my newsreader (OE5) till you release the
> answer?
> Or do I have to see the original post for nearly two years? :-(

> Johan.



> | I have the very simple answer to your question but I'm afraid you will
> have
> | to wait till at least 08/21/02 to get it.
> |
> | :)



Mon, 17 Feb 2003 20:38:18 GMT  
 Raising events from objects in a collection
Can I delete this thread from my newsreader (OE5) till you release the
answer?
Or do I have to see the original post for nearly two years? :-(

Johan.



| I have the very simple answer to your question but I'm afraid you will
have
| to wait till at least 08/21/02 to get it.
|
| :)



Mon, 17 Feb 2003 18:12:29 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Raising events from objects in a collection

2. Raising events from objects in a collection

3. Raising events from objects in a collection???

4. Raising events from objects in a collection???

5. Raising events from objects in a collection???

6. Raising events from objects in a collection???

7. Raising events from objects in a collection???

8. Raising events from objects in a collection???

9. Objects in Collection and Raise Events

10. Raising events from collection member objects?!?!

11. Raising events from a class within a collection class

12. Raise event from Collection member??

 

 
Powered by phpBB® Forum Software