[Gambas-user] Object Inheritance

Benoit Minisini gambas at ...1...
Tue Apr 6 00:15:28 CEST 2004


On Monday 05 April 2004 20:35, Ronan Chilvers wrote:
> Hi folks
>
> Quick question on inheritance.  How does it work in gambas?  For example:-
>
> 2 classes
> 	MyParentClass
> 	MyChildClass
>
> and I want MyChildClass to inherit the properties and methods of
> myParentClass.  How do I do this ?
>
> Cheers
>
> Ronan

Adds "INHERITS MyParentClass" to the beginning of MyChildClass.

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list