On samedi 20 septembre 2008, Kari Laine wrote: > On Sat, Sep 20, 2008 at 7:29 PM, Benoit Minisini < > > [EMAIL PROTECTED]> 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
See Object.Parent(). Regards, -- Benoit Minisini ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user