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

2010-05-13 Thread Fabien Bodard
textarea1.text = (Moon\n) (The Moon is the only natural satellite of Earth.\n) (It is the nearest body and the best known.) 2010/5/13 craf p...@vtr.net: -Mensaje original- De: Benoît Minisini gam...@users.sourceforge.net Reply-to:

Re: [Gambas-user] Translate text from a textarea control

2010-05-13 Thread Fabien Bodard
textarea1.text = subst(Moon\n 1 2,The Moon is the only natural satellite of Earth.\n,is the nearest body and the best known.) you need to add comma each side of the text textarea1.text = subst((Moon\n 1 2),(The Moon is the only natural satellite of Earth.\n),(is the nearest body and the best

[Gambas-user] Disable option

2010-05-13 Thread C. Amaro
Hello, I am trying to disable options (gambas2-2.20.2): ./configure --disable-odbc --disable-kde --host=mipsel-linux --build=mipsel-linux .. THESE COMPONENTS ARE DISABLED: - gb.corba - gb.db.firebird - gb.desktop - gb.opengl - gb.qt.kde - gb.qte - gb.sdl In config.log I can see configure:1995:

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

2010-05-13 Thread Jussi Lahtinen
(I think it is not a good idea to make public controls) Just for interest, why? What is the downside? Maybe it is easier to write not so nicely structured code with public controls, but in this case I may prefer way that creates less code. I think they are both fine... Jussi

Re: [Gambas-user] Disable option

2010-05-13 Thread Charlie Reinl
Am Donnerstag, den 13.05.2010, 12:58 +0200 schrieb C. Amaro: Hello, I am trying to disable options (gambas2-2.20.2): ./configure --disable-odbc --disable-kde --host=mipsel-linux --build=mipsel-linux .. THESE COMPONENTS ARE DISABLED: - gb.corba - gb.db.firebird - gb.desktop -

[Gambas-user] Gambas for windows, how?

2010-05-13 Thread admhardsoft
Hi I was wondering if I could find a gambas for windows. Somebody know something about gambas for windows. Thanks Tomas orta Sent on the TELUS Mobility network with BlackBerry -Original Message- From: Charlie Reinl karl.re...@fen-net.de Date: Thu, 13 May 2010 14:42:30 To: mailing list

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

2010-05-13 Thread EA7DFH
I may be wrong, but generally it is considered a bad practice mixing GUI code with service code. It is a matter of encapsulation, and in OOP it is one of the most important feature. Yes, less code not always means easy code..., it's just my opinion and I'm not criticizing. Regards, Jesus l

Re: [Gambas-user] Gambas for windows, how?

2010-05-13 Thread Werner
On 13/05/10 20:46, admhards...@yahoo.ca wrote: Hi I was wondering if I could find a gambas for windows. Somebody know something about gambas for windows. Thanks Tomas orta Sent on the TELUS Mobility network with BlackBerry There is no such thing. Gambas is meant to facilitate porting VB

Re: [Gambas-user] Gambas for windows, how?

2010-05-13 Thread admhardsoft
Ok but, how can I install gambaas for windows , what should I do? Thanks Tomas Sent on the TELUS Mobility network with BlackBerry -Original Message- From: Werner wd...@netfront.net Date: Thu, 13 May 2010 21:46:46 To: gambas-user@lists.sourceforge.net Subject: Re: [Gambas-user] Gambas

Re: [Gambas-user] Gambas for windows, how?

2010-05-13 Thread Werner
On 13/05/10 21:59, admhards...@yahoo.ca wrote: Ok but, how can I install gambaas for windows , what should I do? Thanks Tomas Sent on the TELUS Mobility network with BlackBerry -Original Message- From: Werner wd...@netfront.net Date: Thu, 13 May 2010 21:46:46 To:

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

2010-05-13 Thread Fabián Flores Vadell
I had no idea of this utility, would comment on the forum. Regards Hi Craf, note than properties is a OOP feature. So, if you write your programs according to OOP, that's ok (and I fully agree with the criteria of Jesús), but if you write your programs according to the paradigm

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

2010-05-13 Thread Fabien Bodard
And in gambas, please don't use too often underScore to name the procedure??? they are reserved for two things : MyObject_EventHandler() and _HiddenProperty or _HiddenVariable At the place you can use UpperCase : Public Sub ProcAdd () Dim sText As String sText = MMain.GetText() Endif

Re: [Gambas-user] Disable option

2010-05-13 Thread Fabien Bodard
configure:1995: WARNING: odbc component is disabled configure:2331: WARNING: kde component is disabled for the lib you have desabled yourself THESE COMPONENTS ARE DISABLED: - gb.corba - gb.db.firebird - gb.desktop - gb.opengl - gb.qt.kde - gb.qte - gb.sdl for theses libs some system

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

2010-05-13 Thread craf
Ok, Registration ;=) Regards. -- Cristian Abarzúa And in gambas, please don't use too often underScore to name the procedure??? they are reserved for two things : MyObject_EventHandler() and _HiddenProperty or _HiddenVariable At the place you can use UpperCase : Public Sub ProcAdd ()

Re: [Gambas-user] Gambas for windows, how?

2010-05-13 Thread Alessandro Rinaldi
I can't understand why you want to use a so good software on a so ugly OS ;) -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net

[Gambas-user] Program version numbers

2010-05-13 Thread craf
Hi. I'm trying to make my first program Gambas and let me know as I have to number the release version, 0.0.1 had thought. Version more = 0 Minor version = 0 Bugs = 1 Is it a good idea?, or take other number is greater? I appreciate any suggestions. Regards -- Cristian Abarzúa

Re: [Gambas-user] Gambas for windows, how?

2010-05-13 Thread Olivier Cruilles
I agree with this answer ... there is a very good software on windows to develop in basic: Micro$oft Visual Basic... Good luck... Le 13 mai 2010 à 18:06, Alessandro Rinaldi a écrit : I can't understand why you want to use a so good software on a so ugly OS ;)

Re: [Gambas-user] Gambas for windows, how?

2010-05-13 Thread admhardsoft
Ok you are right but I wanna developer an app for a customer in windows, because he doesn't know any debian, ubuntu, just windows Do you undestood me? Tomas Sent on the TELUS Mobility network with BlackBerry -Original Message- From: Alessandro Rinaldi alerina...@linuxzogno.org Date:

Re: [Gambas-user] Gambas for windows, how?

2010-05-13 Thread Olivier Cruilles
Ok... but for the moment... no really portage of Gambas was made on windows and the only one way to execute it, is over cygwin ... and not all works as the IDE for example ... only console mode of Gambas. So, if you really want to use Gambas... you must use Linux too sorry.. Le 13 mai

Re: [Gambas-user] Disable option

2010-05-13 Thread C. Amaro
What I am asking is why does not THESE COMPONENTS ARE DISABLED show ODBC and KDE as disable components if I set --disable-odbc and --disable-kde as configure options. So are this two disabled and the THESE COMPONENTS ARE DISABLED lies or they are not disabled? Other disabled options are obvious,

Re: [Gambas-user] Gambas for windows, how?

2010-05-13 Thread EA7DFH
El 13/05/10 18:41, admhards...@yahoo.ca escribió: Ok you are right but I wanna developer an app for a customer in windows, because he doesn't know any debian, ubuntu, just windows Do you undestood me? Tomas Sent on the TELUS Mobility network with BlackBerry -Original Message-

Re: [Gambas-user] Gambas for windows, how?

2010-05-13 Thread Dimitris Anogiatis
Tomas, What you could do in this case, is setup a machine with Debian or Ubuntu on the customer's premises, (It doesn't have to be a top notch machine) and setup x2go and he can use the application from Windows by logging in to the debian machine using SSH and x2go which is a terminal server

Re: [Gambas-user] Gambas for windows, how?

2010-05-13 Thread Doriano Blengino
Dimitris Anogiatis ha scritto: Tomas, What you could do in this case, is setup a machine with Debian or Ubuntu on the customer's premises, (It doesn't have to be a top notch machine) and setup x2go and he can use the application from Windows by logging in to the debian machine using SSH and

Re: [Gambas-user] Gambas for windows, how?

2010-05-13 Thread Werner
On 14/05/10 00:41, admhards...@yahoo.ca wrote: Ok you are right but I wanna developer an app for a customer in windows, because he doesn't know any debian, ubuntu, just windows Do you undestood me? Tomas If we are talking about a typical scenario in an office where the user is using the

Re: [Gambas-user] Gambas for windows, how?

2010-05-13 Thread craf
-Mensaje original- De: Werner wd...@netfront.net Reply-to: mailing list for gambas users gambas-user@lists.sourceforge.net Para: gambas-user@lists.sourceforge.net Asunto: Re: [Gambas-user] Gambas for windows, how? Fecha: Fri, 14 May 2010 02:28:16 +0800 On 14/05/10 00:41,

Re: [Gambas-user] Program version numbers

2010-05-13 Thread Fabien Bodard
it depend of your development plan 2010/5/13 craf p...@vtr.net: Hi. I'm trying to make my first program Gambas and let me know as I have to number the release version, 0.0.1 had thought. Version more = 0 Minor version = 0 Bugs = 1 Is it a good idea?, or take other number is greater? I

Re: [Gambas-user] Disable option

2010-05-13 Thread Fabien Bodard
they are desabled .. in fact it's each libs that fill the array of desabled components , but if you are desabled some libs by hand , they are not controled so not present in the array 2010/5/13 C. Amaro camaro@gmail.com: What I am asking is why does not THESE COMPONENTS ARE DISABLED show

[Gambas-user] Gambas3: error with ODBC

2010-05-13 Thread Leonardo Miliani
Gambas 3, 64 bit version. During the connection setup with an ODBC database everything goes right, but when I try to exec a query with Connectin.Exec, Gambas crashes with #11 error. -- Leonardo Miliani www.leonardomiliani.com Webmaster e co-fondatore di www.gambas-it.org Il portale di

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

2010-05-13 Thread Benoît Minisini
Method 2: textarea1.text = (Moon\n The Moon is the only natural satellite of Earth.\n It is the nearest body and the best known.) error: Missing ')' in line This method should be possible, but because of a implementation problem

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

2010-05-13 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: Fri,