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

Rob Kudla sourceforge-raindog2 at ...94...
Fri Jan 6 21:19:32 CET 2006


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: InheritDemo-0.0.1.tar.gz
Type: application/x-tgz
Size: 1141 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20060106/74c819c9/attachment.bin>


More information about the User mailing list