[Gambas-user] Re: gambas2-1.9.4, Component creation

Christian Faure christian.faurebouvard at ...357...
Tue Mar 29 23:45:44 CEST 2005


El Martes, 29 de Marzo de 2005 11:25, Benoit Minisini escribió:
> A form can't be a "component". A component is a set of classes. A form is
> one of this classes, so I don't understand what you want to do exactly. If
> you want to use a form like a control of your component, of course you can:
> after all, Form inherits Windows that inherits Container that inherits
> Control. But as Form is its own event observer, it won't behave like a
> normal control, and so the user will be disappointed. You should inherits a
> container instead, and fill it with what you got in your form. Or you can
> use a form, but attach it to its parent to cancel the "own event observer"
> thing.
>
> Regards,

Ok, 
Thanks.





More information about the User mailing list