[Gambas-user] How to create dynamic widgets ?
Daniel Campos
dcamposf at ...626...
Fri Dec 21 12:45:46 CET 2007
Hi:
Well, creating a Widget dinamically is easy:
(Inside a form)
Dim hBtn as New Button (Me)
HBtn.Move(10,10,100,100)
HBtn.Text="Hello"
' Don't remember if the following line is neccessary or it's visible
since the begginning
HBtn.Show()
2007/12/21, l.alebarde2 at ...402... <l.alebarde2 at ...402...>:
>
> Hello,
>
> I would like to take benefit of Gambas RAD to design widgets, and then to create
> them dynamically in the main form. The best would be to generate automatically a
> CLASS with it from a Gambas IDE tool, from which it would be then possible to
> create new widgets inherited from it, of course, still using the RAD.
>
> That would be fun, isn't it ?
>
> Back to reallity, what is the best idiome to do that with what already exists ?
>
> Laurent Alebarde.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> 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