Re: [Gambas-user] Dumb question - testing for an empty text box

2010-03-03 Thread Ricardo Díaz Martín
I always use for this: If Len(TextBox1.Text) = 0 Then But is the same that wrote Stefano. Regards, Ricardo Díaz 2010/3/4 Stefano Palmeri > Il giovedì 4 marzo 2010 00:57:32 richard terry ha scritto: > > I almost feel embarrassed to ask this having programmed in gambas for so > > long, but here

Re: [Gambas-user] Dumb question - testing for an empty text box

2010-03-03 Thread Stefano Palmeri
Il giovedì 4 marzo 2010 00:57:32 richard terry ha scritto: > I almost feel embarrassed to ask this having programmed in gambas for so > long, but here goes. > > simplest syntax for testing for no text in a textbox. > > I currently to > > if Trim(textbox1.text) = "" then > > etc. > > Anything better

[Gambas-user] Dumb question - testing for an empty text box

2010-03-03 Thread richard terry
I almost feel embarrassed to ask this having programmed in gambas for so long, but here goes. simplest syntax for testing for no text in a textbox. I currently to if Trim(textbox1.text) = "" then etc. Anything better? Richard -

Re: [Gambas-user] Debian and Ubuntu package building of Application failed

2010-03-03 Thread Doriano Blengino
Benoît Minisini ha scritto: >> Vassilis K ha scritto: >> >>> Hello again, >>> >>> I just made packages of a small application for Opensuse, Madriva and >>> Fedora. Everything worked fine. >>> >>> But the package building for Debian and Ubuntu did not work! It shows: >>> . >>> sh: f

Re: [Gambas-user] Debian and Ubuntu package building of Application failed

2010-03-03 Thread Fabien Bodard
shall it be possible to color the columns of a gridview separately, one-by-one, shall there be other visual enhancements... it's possible since the gambas V1 !! in gambas2 : http://gambasdoc.org/help/comp/gb.qt/.gridviewcell/background --

Re: [Gambas-user] What are the {} enclosed variables

2010-03-03 Thread Fabien Bodard
it's to say to the compiler to not manage that wird as a keyword or a class for exemple Font is a class from gb.qt or gb.gtk if in a personal class you ad a property name like that : PROPERTY Font as Font or PROPERTY Left as Integer the compiler say there is an error and you cant have a propert

Re: [Gambas-user] Debian and Ubuntu package building of Application failed

2010-03-03 Thread M. Cs.
I think you should add it as an option to the IDE. The only reason I'm sticked to Kubuntu is its ability to produce all the binaries. I wonder, whether there are some screenshots of the upcoming Gambas3. I'd realy learn about the planned new features in it: shall it be possible to color the colum

[Gambas-user] What are the {} enclosed variables

2010-03-03 Thread Charlie Reinl
Salut, since a while, from time to time, I have seen things like that. Property {Font} As Font ' (this is out of the gb.report project of gambas3) Can anybody tell me the meaning of {} enclosed variables. I haven't found in doc's. -- Amicalement Charlie -

Re: [Gambas-user] Debian and Ubuntu package building of Application failed

2010-03-03 Thread Benoît Minisini
> 2010/3/3 M. Cs. : > >> So, concretely, you can't create Ubuntu/Debian packages from Mandriva, > >> unless > >> you compile the needed programs! > > > > More than that, I never did manage to install the requirements for the > > Mandriva. I'm a big fan of it, although presently using Kubuntu. I'm

Re: [Gambas-user] Problem opening a Form

2010-03-03 Thread Pino Zollo
Il mercoledì 3 marzo 2010 15:56:32 hai scritto: > TipoStat = FMain.TStats > > are you sure that TSTATs return an integer ? Changed to GAMBAS 2.20 .the error still bothers.. Removed the line TipoStat = FMain.TStats no change ...still error. Commented all the lines in FillLista and initTa

Re: [Gambas-user] Debian and Ubuntu package building of Application failed

2010-03-03 Thread M. Cs.
Well, I've 'Slacked' it! Downloaded tar-1.13, compiled from sources made ln -s /usr/local/bin/tar /usr/bin/tar-1.13 ,and it works. One more thing: is autopackage a distribution-independent package? Is it possible to install the programs on every Linux with this package, if no other binary is availa

Re: [Gambas-user] Debian and Ubuntu package building of Application failed

2010-03-03 Thread José Luis Redrejo
2010/3/3 M. Cs. : >> >> So, concretely, you can't create Ubuntu/Debian packages from Mandriva, >> unless >> you compile the needed programs! >> > > More than that, I never did manage to install the requirements for the > Mandriva. I'm a big fan of it, although presently using Kubuntu. I'm > curious

Re: [Gambas-user] Problem opening a Form

2010-03-03 Thread Benoît Minisini
> Hi, > I am adding new code to may project. > Since yesterday I am having problems when I introduce new Forms an I try to > open them from FMain. > E.G. > In FMAin: > > PUBLIC SUB mnuWAC_Click() > >FWAC.Show() > > END > > In FWAC.class: > > PRIVATE TipoStat AS Integer > PUBLIC Bande AS NE

Re: [Gambas-user] Problem opening a Form

2010-03-03 Thread Pino Zollo
Il mercoledì 3 marzo 2010 15:56:32 hai scritto: > TipoStat = FMain.TStats > > are you sure that TSTATs return an integer ? Well it is so defined in Fmain.class : 'DXCCStats STATIC PUBLIC TStats AS Integer I guess that it is an integer... I made it just as a work

Re: [Gambas-user] Debian and Ubuntu package building of Application failed

2010-03-03 Thread M. Cs.
Yes, and the only one with easy-to-use IDE. In other surroundings you have to edit GUI in a separate file and that makes a hell of coding! -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Spe

Re: [Gambas-user] Debian and Ubuntu package building of Application failed

2010-03-03 Thread Benoît Minisini
> > So, concretely, you can't create Ubuntu/Debian packages from Mandriva, > > unless > > you compile the needed programs! > > More than that, I never did manage to install the requirements for the > Mandriva. I'm a big fan of it, although presently using Kubuntu. I'm > curious, wheter you (Benoit

Re: [Gambas-user] Debian and Ubuntu package building of Application failed

2010-03-03 Thread M. Cs.
> > So, concretely, you can't create Ubuntu/Debian packages from Mandriva, > unless > you compile the needed programs! > More than that, I never did manage to install the requirements for the Mandriva. I'm a big fan of it, although presently using Kubuntu. I'm curious, wheter you (Benoit) or someo

Re: [Gambas-user] Debian and Ubuntu package building of Application failed

2010-03-03 Thread Benoît Minisini
> Why does Gambas create 2 rpm files one .src and one .noarch? > The .src.rpm is the rpm to install the sources of your project. The .noarch one is the binary rpm with the program only. > Is it the noarch.rpm file that I have to install ? Yes. > > Why does the .noarch.rpm ask for all the Gam

Re: [Gambas-user] Debian and Ubuntu package building of Application failed

2010-03-03 Thread Vassilis K
Why does Gambas create 2 rpm files one .src and one .noarch? Is it the noarch.rpm file that I have to install ? Why does the .noarch.rpm ask for all the Gambas2.* depedencies in order to be installed? Is it logical to ask for almost all of the components of Gambas? Is this happening in Deb distr

Re: [Gambas-user] Problem with tableview when in edit mode

2010-03-03 Thread EA7DFH
Sorry, I haven't read the whole thread... Now I'm calling Edit from the click event, and no more crazy traveling :-) However, I'm getting a "Combobox is readonly" error when obviously I set the second arg to TRUE: Edit(getList(), TRUE) But this error isn't catched (by the CATCH clause), and pr

Re: [Gambas-user] Problem with tableview when in edit mode

2010-03-03 Thread EA7DFH
Doriano Blengino escribió: > Charlie Reinl ha scritto: >> Am Donnerstag, den 03.12.2009, 21:32 +0100 schrieb Doriano Blengino: >> >>> Charlie Reinl ha scritto: >>> Sorry Dariano, no meant, has not changed, even in 2.18.0 Revision: 2447 , the cursor moves from top left t

Re: [Gambas-user] Debian and Ubuntu package building of Application failed

2010-03-03 Thread Vassilis K
Ok, I had to use my Desktop (with Ubuntu 9.10) to make the Deb packages !!! It worked fine ! This is another proof of the 2 different distros Theorem ! -- Download Intel® Parallel Studio Eval Try the new software tools

Re: [Gambas-user] Problem opening a Form

2010-03-03 Thread Fabien Bodard
TipoStat = FMain.TStats are you sure that TSTATs return an integer ? 2010/3/3 Pino Zollo : > Hi, > I am adding new code to may project. > Since yesterday I am having problems when I introduce new Forms an I try to > open them from FMain. > E.G. > In FMAin: > > PUBLIC SUB mnuWAC_Click() > >   FWAC

Re: [Gambas-user] Debian and Ubuntu package building of Application failed

2010-03-03 Thread Benoît Minisini
> Vassilis K ha scritto: > > Hello again, > > > > I just made packages of a small application for Opensuse, Madriva and > > Fedora. Everything worked fine. > > > > But the package building for Debian and Ubuntu did not work! It shows: > > . > > sh: fakeroot: command not found > > One

Re: [Gambas-user] Debian and Ubuntu package building of Application failed

2010-03-03 Thread Doriano Blengino
Vassilis K ha scritto: > Hello again, > > I just made packages of a small application for Opensuse, Madriva and > Fedora. Everything worked fine. > > But the package building for Debian and Ubuntu did not work! It shows: > . > sh: fakeroot: command not found > One clear advantage of

[Gambas-user] infobot wallonie

2010-03-03 Thread Pino Zollo
I have received it !! Pino -- "In the universe there is no time existing as a physical reality, there is no past, no present and no future" "Time is a mind construction into which one experiences motion" "Time is a flow of irreversible material changes" -Davide Fiscaletti Key ID: 0xF6768208 K

[Gambas-user] Debian and Ubuntu package building of Application failed

2010-03-03 Thread Vassilis K
Hello again, I just made packages of a small application for Opensuse, Madriva and Fedora. Everything worked fine. But the package building for Debian and Ubuntu did not work! It shows: . sh: fakeroot: command not found package building failed Package,MakeDebPackage.531:'dpkg-buildpac

[Gambas-user] Problem opening a Form

2010-03-03 Thread Pino Zollo
Hi, I am adding new code to may project. Since yesterday I am having problems when I introduce new Forms an I try to open them from FMain. E.G. In FMAin: PUBLIC SUB mnuWAC_Click() FWAC.Show() END In FWAC.class: PRIVATE TipoStat AS Integer PUBLIC Bande AS NEW String[50] PUBLIC ListBande AS

Re: [Gambas-user] suggestion of make option

2010-03-03 Thread Jussi Lahtinen
I think you forgot to attach it... Jussi On Wed, Mar 3, 2010 at 17:02, kobolds wrote: > > mail you some screen shot . hope you can give me some of your opinion ? > > I > > > Benoît Minisini wrote: >> >>> this idea is from one of the program I previous used >>> >>> when I compile and make progra

Re: [Gambas-user] suggestion of make option

2010-03-03 Thread kobolds
mail you some screen shot . hope you can give me some of your opinion ? I Benoît Minisini wrote: > >> this idea is from one of the program I previous used >> >> when I compile and make program , there is an option which allow me to >> include or not include the runtime framework or select wh

Re: [Gambas-user] Release of Gambas 2.20

2010-03-03 Thread Sprachschule Eilert
Am 02.03.2010 23:39, schrieb Benoît Minisini: >> Hi Benoit, >> >> thank you for the new release! >> >> This one let me wonder: >>> * ComboBox now raises the Click event when it gets its first element, >>> because that element is automatically selected. >>> >>> Beware that the two previous changes m

Re: [Gambas-user] suggestion of make option

2010-03-03 Thread Fabien Bodard
Le 3 mars 2010 11:50, Benoît Minisini a écrit : >> this idea is from one of the program I previous used >> >> when I compile and make program , there is an option which allow me to >> include or not include the runtime framework or select which to include >> into one executable. >> >> of course th

Re: [Gambas-user] Compiling error with 2.20

2010-03-03 Thread Rolf-Werner Eilert
Am 03.03.2010 12:00, schrieb Benoît Minisini: >> Meanwhile I tried to compile the new version, but it stops here: >> >> CPdfDocument.cpp: In function ‘uint32_t aux_get_page_from_action(void*, >> LinkAction*)’: >> CPdfDocument.cpp:183: error: cannot convert ‘UGooString*’ to >> ‘GooString*’ in assign

Re: [Gambas-user] Compiling error with 2.20

2010-03-03 Thread Benoît Minisini
> Meanwhile I tried to compile the new version, but it stops here: > > CPdfDocument.cpp: In function ‘uint32_t aux_get_page_from_action(void*, > LinkAction*)’: > CPdfDocument.cpp:183: error: cannot convert ‘UGooString*’ to > ‘GooString*’ in assignment > CPdfDocument.cpp:185: error: no matching fun

Re: [Gambas-user] suggestion of make option

2010-03-03 Thread Benoît Minisini
> this idea is from one of the program I previous used > > when I compile and make program , there is an option which allow me to > include or not include the runtime framework or select which to include > into one executable. > > of course the down side for this is the executable file will be bi

Re: [Gambas-user] Compiling error with 2.20

2010-03-03 Thread Benoît Minisini
> Am 03.03.2010 09:46, schrieb Benoît Minisini: > > ls -la /usr/lib/libpoppler* > > Too old I guess: > > lrwxrwxrwx 1 root root 24 26. Jun 2009 /usr/lib/libpoppler-glib.so > -> libpoppler-glib.so.1.0.0 > lrwxrwxrwx 1 root root 24 26. Jun 2009 > /usr/lib/libpoppler-glib.so.1 -> libpoppl

Re: [Gambas-user] Compiling error with 2.20

2010-03-03 Thread Rolf-Werner Eilert
Am 03.03.2010 09:46, schrieb Benoît Minisini: > ls -la /usr/lib/libpoppler* Too old I guess: lrwxrwxrwx 1 root root 24 26. Jun 2009 /usr/lib/libpoppler-glib.so -> libpoppler-glib.so.1.0.0 lrwxrwxrwx 1 root root 24 26. Jun 2009 /usr/lib/libpoppler-glib.so.1 -> libpoppler-glib.so.1.0.0

Re: [Gambas-user] Compiling error with 2.20

2010-03-03 Thread Benoît Minisini
> Meanwhile I tried to compile the new version, but it stops here: > > CPdfDocument.cpp: In function ‘uint32_t aux_get_page_from_action(void*, > LinkAction*)’: > CPdfDocument.cpp:183: error: cannot convert ‘UGooString*’ to > ‘GooString*’ in assignment > CPdfDocument.cpp:185: error: no matching fun