[Gambas-user] Problem implementing events _inside_ a class
Patrik Karlsson
patrik at ...1931...
Thu Jun 26 09:37:33 CEST 2008
2008/6/26 Benoit Minisini <gambas at ...1...>:
> The first question is: why do you need to catch MouseDown events inside
> CDiceBoard class?
Well, I want do do some action, that must always execute for every
instance of the class, without having to do the code for every object.
> Anyway, events are intended to the final user of an object.
Ok, I see.
>If you need to intercept them inside the implementation of the object class, you have to use Observers.
Thank you so much, now it works the way I want it to.
--
Patrik Karlsson
More information about the User
mailing list