[Gambas-user] Object.Attach & Object.Detach

Kari Laine klaine8 at ...626...
Sat Sep 20 19:37:00 CEST 2008


On Sat, Sep 20, 2008 at 7:29 PM, Benoit Minisini <
gambas at ...1...> wrote:

> On samedi 20 septembre 2008, Kari Laine wrote:
> > On Sat, Sep 20, 2008 at 5:52 PM, Benoit Minisini <
> >
> >
> > Where do events go then?
>
> They are lost. As if the object was never attached to anything.
>
> > Is there way to do "remembering" myself in code?
>
> Store the old observers yourself.
>
> How do I get the observer for defined object? Object.Attach is void. I was
able to get the example to do what I  wanted by using FMain as event target.
But I would very much appreciate a way to find out who is the observer for
whatever object - and that I am not able to figure out. This must be
trivial...

Best Regards
Kari Laine



More information about the User mailing list