[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

[Gambas-user] Fonction Val ne fonctionne pas ?

2010-05-12 Thread jpga
Bonjour, Je cherche à développer une suite de logiciels pour l'éducation nationale ... Pouvez-vous me dire pourquoi la fonction Val ne fonctionne pas sous gambas 20.2: Val($Resultat3!NOTE) Je cherche à convertir la variable $Resultat3!NOTE de type string en variable de type integer afin de

Re: [Gambas-user] Fonction Val ne fonctionne pas ?

2010-05-12 Thread Benoît Minisini
Bonjour, Je cherche à développer une suite de logiciels pour l'éducation nationale ... Pouvez-vous me dire pourquoi la fonction Val ne fonctionne pas sous gambas 20.2: Val($Resultat3!NOTE) Je cherche à convertir la variable $Resultat3!NOTE de type string en variable de type integer

[Gambas-user] Several lines from a string in the code

2010-05-12 Thread craf
Hi. There is a way to display a string in the code by several lines?, ex textarea1.text =bla,bla, bla, bla, bla, bla bla,bla,bla,bla,bla,bla,bla, blab,bla Regards

Re: [Gambas-user] Several lines from a string in the code

2010-05-12 Thread EA7DFH
Try this: textarea1.text =bla,bla, bla, bla, bla, bla bla,bla,bla,bla,bla,bla,bla blab,bla Regards Jesus El 12/05/10 22:13, craf escribió: Hi. There is a way to display a string in the code by several lines?, ex textarea1.text =bla,bla, bla, bla, bla,

Re: [Gambas-user] Several lines from a string in the code

2010-05-12 Thread Benoît Minisini
Try this: textarea1.text =bla,bla, bla, bla, bla, bla bla,bla,bla,bla,bla,bla,bla blab,bla Regards Jesus Or, better: textarea1.text =bla,bla, bla, bla, bla, bla bla,bla,bla,bla,bla,bla,bla blab,bla -- Benoît

Re: [Gambas-user] Several lines from a string in the code

2010-05-12 Thread craf
¡Hi Jesús! What happens is that I need to ident the strings within the code so I would not write them out so long and off the screen. Regards. Try this: textarea1.text =bla,bla, bla, bla, bla, bla bla,bla,bla,bla,bla,bla,bla blab,bla Regards Jesus El

Re: [Gambas-user] Several lines from a string in the code

2010-05-12 Thread craf
-Mensaje original- De: Benoît Minisini gam...@users.sourceforge.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] Several lines from a string in the code Fecha: Wed,

[Gambas-user] Call control from one module

2010-05-12 Thread craf
Hi. I need to call a control that is located on the main form from a module, for this I have dealt with the following code: 'in module public sub proc_add() Fmain.control.text= Hello end sub But this form of call control does not work. Regards

Re: [Gambas-user] Call control from one module

2010-05-12 Thread Jussi Lahtinen
Project properties -- Check: Form controls are public. Jussi On Thu, May 13, 2010 at 00:45, craf p...@vtr.net wrote: Hi. I need to call a control that is located on the main form from a module, for this I have dealt with the following code: 'in module public sub proc_add()

Re: [Gambas-user] Call control from one module

2010-05-12 Thread craf
Thanks ! My fault. By spending some time with Python, and I forget everything. Regards Project properties -- Check: Form controls are public. Jussi On Thu, May 13, 2010 at 00:45, craf p...@vtr.net wrote: Hi. I need to call a control that is located on the main form from a module, for

Re: [Gambas-user] Call control from one module

2010-05-12 Thread EA7DFH
El 13/05/10 00:08, Jussi Lahtinen escribió: Project properties -- Check: Form controls are public. Jussi On Thu, May 13, 2010 at 00:45, craf p...@vtr.net wrote: Hi. I need to call a control that is located on the main form from a module, for this I have dealt with the following code:

Re: [Gambas-user] Call control from one module

2010-05-12 Thread craf
-Mensaje original- De: EA7DFH ea7...@ea7dfh.com 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] Call control from one module Fecha: Thu, 13 May 2010 00:29:20 +0200 El

Re: [Gambas-user] Several lines from a string in the code

2010-05-12 Thread craf
-Mensaje original- De: Benoît Minisini gam...@users.sourceforge.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] Several lines from a string in the code Fecha: Wed,

[Gambas-user] Translate text from a textarea control

2010-05-12 Thread craf
Hi. I have the following strings of text within a textarea control and would like to translate. As stated in the Gambas wiki, if you translate strings concatenated to use SUBST. 'code textarea1.text = subst(Moon\n 1 2,The Moon is the only natural satellite of Earth.\n,is the nearest body and