[Gambas-user] gambas 0.57

Benoit Minisini gambas at ...2...
Thu May 29 11:47:24 CEST 2003


Le Lundi 26 Mai 2003 00:47, Rob a écrit :
> On Sunday 25 May 2003 17:49, Benoit Minisini wrote:
> > > I got "FMain.ws is static".  Did I get the syntax wrong?
> >
> > No idea what is wrong ! Send me your project.
>
> Thanks!  You can grab it at http://www.kudla.org/gambas-mdi-project.tar.gz
>
> I'll be happy to email you if you have any difficulty getting it.
>
> Rob
>

I have strange ideas sometimes :-)

In gambas, you cannot access a static member from an object reference. You 
must use the class name.

Instead of using 'ProjectForm.ws', you must use 'FMain.ws'.

Or you can make 'ws' non static.

This behaviour may change in the future, because it is not usual !

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list