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

johnf jfabiani at ...1109...
Fri Jan 6 21:41:00 CET 2006


On Friday 06 January 2006 12:19, Rob Kudla wrote:
> On Fri January 6 2006 11:07, johnf wrote:
> > 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.
>
> The Inheritance page in the documentation does show how to do the
> first part of that.... just put INHERITS FFormName at the
> beginning of your new class file.
>
> As for SUPER, so far that's only documented on gambasdoc.org:
>
> http://gambasdoc.org/help/lang/super
>
> But it works the way I expected a "super" implementation to work,
> at least.
>
> Here's a project that demonstrates both concepts.
>
> Rob

Thank you very much - I guess I did not realize the doc's covered the inherit.  
I kept reading things about classes - but did not see the inherit 
information.  Thanks again - from a newbie.

John




More information about the User mailing list