[Gambas-user] How to create event to control created at runtime

craf prog at ...2177...
Wed May 12 17:43:56 CEST 2010


-----Mensaje original-----
De: Simonart Dominique <simonart.dominique at ...11...>
Reply-to: mailing list for gambas users
<gambas-user at lists.sourceforge.net>
Para: mailing list for gambas users <gambas-user at lists.sourceforge.net>
Asunto: Re: [Gambas-user] How to create event to control created at
runtime
Fecha: Wed, 12 May 2010 17:33:48 +0200

Hi.

So?

Dim myButton as new Button (Fmain) as clickeventname

Regards

>Hi,

>Just add "As ClickEventName"

>regards

>Le 12/05/2010 17:18, craf a écrit :
>
> Hi.
>
> I would like to know how to associate a click event to a button control
> created at runtime.
> I know the code to create the button is:
>
> Dim myButton as new Button (Fmain)
>
> but what I need is to create the click event for this button and the
> button to call the click event.
>
> Regards
>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>




------------------------------------------------------------------------------

_______________________________________________
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