2008/6/26 Benoit Minisini <[EMAIL PROTECTED]>:
> 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

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to