[Gambas-user] overwrite a component ????

Charlie Reinl Karl.Reinl at ...9...
Sun Aug 16 23:25:38 CEST 2009


Am Sonntag, den 16.08.2009, 22:43 +0200 schrieb Benoît Minisini:
> > Salut,
> >
> > my to days problem is:
> >
> > since gambas-0.95 I use an InputBox called InputBox, works good for me.
> > With gambas2 it became a component (user-component).
> >
> > To day I added to the project the gb.form component, which includes his
> > own InputBox even called InputBox.
> >
> > What is to do, to overwrite the gb.form.InputBox component?
> 
> You must export it (with the EXPORT keyword). It will not actually overwrite 
> the gb.form InputBox, it will inherit it. So be careful!

Salut,

yes I felt it, that's way I wrote overwrite!
Gambas said "Cannot load class 'Input':Mulitple inheritance"

Regards
Charlie





More information about the User mailing list