[Gambas-user] error when using a custom control

Fabien Bodard gambas.fr at ...626...
Wed Aug 18 07:54:08 CEST 2010


2010/8/18 Fabián Flores Vadell <fabianfloresvadell at ...626...>:
> Hi everybody.
>
> I wrote a custom control using Gambas 2.21, is not finished yet but I
> need test packaging and installation.
>
> I installed it on two virtualized tests machines (ubuntu and kubuntu
> 10.04 by virtualbox). I installed Gambas 2.18 too, from repositories.
>
> When I add the control to a test proyect, the below error message is displayed:
>
> "UserControl class is missing in 'yourclass' component exported classes"
>
> "yourclass" is the name of my custom control.
>
> I understand that if a custom class inherits from another custom
> class, both must be exported. But how I could to export "UserControl"?
usercontrol is provided by gb.qt or gb.gtk ... you need to indicate in
yourcomponant what it need ! ... take a look in the project properties
dialog

>
> --
> Fabián Flores Vadell
> www.speedbooksargentina.blogspot.com
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> 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