[Gambas-user] Forms (dialogs) from within a module/class

B Bruen bbruen at ...2308...
Mon May 12 11:57:27 CEST 2014


On Mon, 12 May 2014 10:50:55 +0200
Rolf-Werner Eilert <eilert-sprachen at ...221...> wrote:

> But when I want to re-use the module in another program, I will have to 
> copy the form as well. So I thought, it might be nice to have some means 
> of incorporating this form into the module so it is not a dialog for 
> everyone in the project but a specialised form for that module only that 
> comes with it automatically when copied from one project to another.

This sounds like you don't know about creating libraries and components?
We have a multitude of components/libraries that we have created ourselves to share common functionality between projects. Things like a "GenUtil" component that has extended Date utilities, File utilities etc etc that we use to "extend" gambas (the way "we" want). In fact most of the things in comp (none of mine!) ostentatiously started as a local component. 
Some ideas you may find at http://paddys-hill.net/wp/gambas/gambas-components which (generally) are the ones that are (ahem) stable enough to distribute.

If I have misinterpreted, then feel free to complain to the appropriate /dev/null :-)


-- 
B Bruen <bbruen at ...2308...>




More information about the User mailing list