[Gambas-user] making a gui without form editor

Jochen Georges jochen.georges at ...22...
Wed May 7 07:25:24 CEST 2003


hi benoit, gambanauts,

On Tuesday 06 May 2003 13:53, Benoit Minisini wrote:

>
> Your _new() function is the constructor of your class, not of the
> Form class. So when you do hForm = new Form, this constructor is
> never called.

all right

> You should do hForm = new MyClass (if the file you sent is
> MyClass.class) and put the form in a non-static variable of
> MyClass, and the code of Main() in _new().

?????
if i use hForm in the constructor too, it must be global.
to be global it must be static ???

can you give me a code example?

sorry, i have to learn a lot.

thanks a lot

beste gruesse
jochen




More information about the User mailing list