Correct, because B has implemented the event. Events are an alternative to overriding.

Charles Yeomans

On Jan 17, 2007, at 1:42 PM, Daniel Stenning wrote:

The other difference ( from memory of when I last used them ) is that one
cannot override events like methods. The event hook will appear in the
subclass. If that event is used in this subclass and this subclass has
itself a subclass, then ( far as I can recall ) the event isnt propagated upwards - in other words, if the event is defined in A and subclass B has code in that event, a class C, subclassed from B will not show the event, and therefore cannot choose to override the event with its own version.


On 17/1/07 16:14, "Charles Yeomans" <[EMAIL PROTECTED]> wrote:

method that does nothing but call an event does the very same thing
as a pure virtual method, as far as I can tell.  The only difference
is that the event does not require one to supply a nontrivial
implementation.


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to