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

Simonart Dominique simonart.dominique at ...11...
Wed May 12 17:33:48 CEST 2010


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
>
>







More information about the User mailing list