[Gambas-user] Catching an Event from an Object in another Class

Fabien Bodard gambas.fr at ...626...
Fri Jun 24 12:27:17 CEST 2011


2011/6/24 tobias <tobiasboe1 at ...20...>:
> hi,
>
>> PUBLIC SUB _new(hSubject AS Editor)
>>
>>   hEditor = hSubject
>>   object.attach(hSubject, me, "heditor")
>>
>> END
>>
>
> thanks a lot. i just read this, too, but didn't notice that it could be
> significant.
> anyway, thanks,
> tobi
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense..
> http://p.sf.net/sfu/splunk-d2d-c1
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>


you can duplicate the events too with an observer.
so you can catch the envents in you classe and in the form
-- 
Fabien Bodard




More information about the User mailing list