[Gambas-user] newbie-dumb ? how do I inherit
Christian Faure
christian.faurebouvard at ...357...
Mon Jan 9 12:03:27 CET 2006
El Viernes 06 Enero 2006 16:49, Fabien Bodard escribió:
> Le Vendredi 6 Janvier 2006 17:07, johnf a écrit :
> > Hi,
> >
> > I'm sure everyone knows how to do this but I don't see it?
> >
> > How do I create a new class that can inherit from a form (subclass from a
> > form)? Also how can I use the super-class methods? If the information is
> > available on the web just point me.
>
> At the top of your new class :
>
> INHERITS Form
>
>
> To use the super-class method :
>
> SUPER.Method...
>
> http://gambasdoc.org/help/lang/inherits
> http://gambasdoc.org/help/lang/super
>
>
> Fabien
>
> > John
> >
In http://gambasdoc.org/help/lang/inherits help i've found:
-------------
Note that you can't use INHERITS in a form class file, because forms already
inherits the Form class!
-----------
subclass from a form is possible?
More information about the User
mailing list