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

2010-05-12 Thread craf
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

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

2010-05-12 Thread Simonart Dominique
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

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

2010-05-12 Thread craf
-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

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

2010-05-12 Thread craf
-Mensaje original- De: craf p...@vtr.net 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