[Gambas-user] newbie-dumb ? how do I inherit
Fabien Bodard
gambasfr at ...11...
Fri Jan 6 20:49:10 CET 2006
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
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
More information about the User
mailing list