Re: [Gambas-user] constructor events

2014-06-25 Thread B Bruen
On Wed, 25 Jun 2014 09:15:01 +0200 Fabien Bodard wrote: > I really dont understand in what case it can be usefull > > Your observer in all case will be created after the object so in this case > just call a subroutine will do the same > > If you need an info during the init you can give it as p

Re: [Gambas-user] constructor events

2014-06-25 Thread Fabien Bodard
I really dont understand in what case it can be usefull Your observer in all case will be created after the object so in this case just call a subroutine will do the same If you need an info during the init you can give it as param Please give more explanation of what you want to achieve Regard

[Gambas-user] constructor events

2014-06-24 Thread B Bruen
(I don't know whether I have already asked this.) Is it possible to raise events in a class constructor and trap them in an observing class? Looking at it, I don't think the object exists yet and so the answer appears to be no (and my experiments seem to bear this out) but I am asking anyway in