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

Benoît Minisini gambas at ...1...
Sun Aug 16 22:43:42 CEST 2009


> 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!

Regards,

-- 
Benoît




More information about the User mailing list