[Gambas-user] newbie-dumb ? how do I inherit

Benoit Minisini gambas at ...1...
Wed Jan 11 07:52:49 CET 2006


On Monday 09 January 2006 12:03, Christian Faure wrote:
> 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?
>

Yes it is.

-- 
Benoit Minisini





More information about the User mailing list