-----Mensaje original----- De: Simonart Dominique <simonart.domini...@wanadoo.fr> Reply-to: mailing list for gambas users <gambas-user@lists.sourceforge.net> Para: mailing list for gambas users <gambas-user@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@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user