[Gambas-user] How to process Events of an inherited class?
mike-nought at ...17...
mike-nought at ...17...
Mon Aug 21 21:14:05 CEST 2006
Am Montag, 21. August 2006 21:09 schrieb Benoit Minisini:
> Because SUPER and ME are exactly the same object.
Oh, this is new to me.
> > I don't know how these inheritances
> > are working internally but isn't there an instance of the inherited class
> > merged with the inheriting one? Shouldn't you be able to catch those
> > events seperately then?
>
> Alas no. The difficulty comes from the fact that an object can have one and
> only one event observer.
Okay then. This seems quite plausible.
> > Oh, one question comes to my mind right now: You are using many so-called
> > virtual classes in several other classes in Gambas. I asume there is no
> > way to create own ones within a Gambas-project, right?
>
> Right. Virtual classes are a hack reserved to components written in C/C++.
Thought so. Thank you anyways.
Regards,
Franz
More information about the User
mailing list