[Gambas-user] a observer in a form can't catch an event from other class
Fabián Flores Vadell
fabianfloresvadell at ...626...
Wed Jun 29 22:16:28 CEST 2011
misprint:
2011/6/29 Fabián Flores Vadell <fabianfloresvadell at ...626...>:
'Dim aux As ClassA = Object.Class(GameBoard).AutoCreate()
'Dim aux As ClassA = Object.Class(GameBoard).instance
(aux is NULL too, obviously)
> $obsClassA = New Observer(Object.Class(ClassA).instance) As "obsClassA"
>
>
> and
>
>
> $obsClassA = New Observer(Object.Class(ClassA).Autocreate()) As "obsClassA"
>
>
> but the result is negative: $obsClassA.Object is NULL ($obsClassA is
> NULL too, obviously), allways.
--
Fabián Flores Vadell
www.comoprogramarcongambas.blogspot.com
www.speedbooksargentina.blogspot.com
More information about the User
mailing list