Re: [Gambas-user] TextBox and CR

2010-04-20 Thread Rolf-Werner Eilert
Am 20.04.2010 19:30, schrieb Doriano Blengino: > Rolf-Werner Eilert ha scritto: >> No, don't worry :-) >> >> So, this is my code now: >> >> PUBLIC SUB Suche_KeyPress() >> DIM t$ AS String >> >>IF Key.Code = Key.Return OR Key.Code = Key.Enter THEN >> t$ = Trim$(Suche.Text) >>

Re: [Gambas-user] Compiling Gambas3 on Fedora 12

2010-04-20 Thread Ron
I have build one for stable version Gambas2, not Gambas3, you can download it here: http://code.google.com/p/domotiga-livecd I have created it for people who want to try out DomotiGa (my Gambas home automation project) But it includes Ubuntu 9.10 32 bits Desktop and a complete Gambas 2.18.0, so

Re: [Gambas-user] Compiling Gambas3 on Fedora 12

2010-04-20 Thread Zelimir Ikovic
Is it possible to make LiveCD Linux+Gambas for windows programmers to try, play with it and decide? Regards --- On Tue, 4/20/10, Benoît Minisini wrote: > From: Benoît Minisini > Subject: Re: [Gambas-user] Compiling Gambas3 on Fedora 12 > To: "mailing list for gambas users" > Received: Tuesday,

Re: [Gambas-user] Compiling Gambas3 on Fedora 12

2010-04-20 Thread Benoît Minisini
> Il 21/04/2010 02:08, Benoît Minisini ha scritto: > >> Il 21/04/2010 01:38, Benoît Minisini ha scritto: > >>> If pkg-config does not give the GTK+ paths, then something need to be > >>> install, but I can't tell you what as I don't know Fedora at all. Maybe > >>> a Fedora user can help you? > >>

Re: [Gambas-user] Compiling Gambas3 on Fedora 12

2010-04-20 Thread Matteo Pasotti
Il 21/04/2010 02:08, Benoît Minisini ha scritto: >> Il 21/04/2010 01:38, Benoît Minisini ha scritto: >> >>> If pkg-config does not give the GTK+ paths, then something need to be >>> install, but I can't tell you what as I don't know Fedora at all. Maybe >>> a Fedora user can help you? >>>

Re: [Gambas-user] Compiling Gambas3 on Fedora 12

2010-04-20 Thread Benoît Minisini
> Il 21/04/2010 01:38, Benoît Minisini ha scritto: > > If pkg-config does not give the GTK+ paths, then something need to be > > install, but I can't tell you what as I don't know Fedora at all. Maybe > > a Fedora user can help you? > > Thanks Benoît, finally I've discovered the package missing: g

Re: [Gambas-user] Compiling Gambas3 on Fedora 12

2010-04-20 Thread Matteo Pasotti
Il 21/04/2010 01:38, Benoît Minisini ha scritto: > If pkg-config does not give the GTK+ paths, then something need to be install, > but I can't tell you what as I don't know Fedora at all. Maybe a Fedora user > can help you? > > Thanks Benoît, finally I've discovered the package missing: gette

Re: [Gambas-user] Compiling Gambas3 on Fedora 12

2010-04-20 Thread Benoît Minisini
> Il 20/04/2010 16:58, Matteo Pasotti ha scritto: > > Il 20/04/2010 16:35, Benoît Minisini ha scritto: > >>> Il 19/04/2010 20:22, Matteo Pasotti ha scritto: > Hi All, > I'm trying to compile gambas3 on Fedora 12 x86_64 and I can't > understand which package I must install to enable g

Re: [Gambas-user] Compiling Gambas3 on Fedora 12

2010-04-20 Thread Matteo Pasotti
Il 20/04/2010 16:58, Matteo Pasotti ha scritto: > Il 20/04/2010 16:35, Benoît Minisini ha scritto: >>> Il 19/04/2010 20:22, Matteo Pasotti ha scritto: Hi All, I'm trying to compile gambas3 on Fedora 12 x86_64 and I can't understand which package I must install to enable gb.gtk.

Re: [Gambas-user] smtp question

2010-04-20 Thread Benoît Minisini
> > Hi everyone! > > > > Any idea when the smtpclient work with password property?? > > I need send email on my program. > > Any idea about?? Other method??? > > > > Tks > > That was implemented a few days ago in Gambas 3 (revision #2866). Fabien > had some problem with it, but I couldn't find w

Re: [Gambas-user] smtp question

2010-04-20 Thread Benoît Minisini
> Hi everyone! > > Any idea when the smtpclient work with password property?? > I need send email on my program. > Any idea about?? Other method??? > > Tks > That was implemented a few days ago in Gambas 3 (revision #2866). Fabien had some problem with it, but I couldn't find why. It works the

[Gambas-user] User components in Gambas 3

2010-04-20 Thread Benoît Minisini
Hi, I post this mail on both mailing-lists: please answer on the developer mailing-list if possible, as this is related to the development version! I'm currently thinking about how user components should work in Gambas 3, as I dislike the way it was designed in Gambas 2. In Gambas 2, user comp

[Gambas-user] smtp question

2010-04-20 Thread Wellington de Souza Pinto
Hi everyone! Any idea when the smtpclient work with password property?? I need send email on my program. Any idea about?? Other method??? Tks --- |/ Wellington de Souza Pinto C o o ] wspi...@click21.com.br ^ -x-x-x-x-x-x

Re: [Gambas-user] TextBox and CR

2010-04-20 Thread Doriano Blengino
Rolf-Werner Eilert ha scritto: > No, don't worry :-) > > So, this is my code now: > > PUBLIC SUB Suche_KeyPress() > DIM t$ AS String > > IF Key.Code = Key.Return OR Key.Code = Key.Enter THEN > t$ = Trim$(Suche.Text) > IF t$<> "" THEN > SucheStarten(t$) > END

Re: [Gambas-user] TextBox and CR

2010-04-20 Thread Rolf-Werner Eilert
No, don't worry :-) So, this is my code now: PUBLIC SUB Suche_KeyPress() DIM t$ AS String IF Key.Code = Key.Return OR Key.Code = Key.Enter THEN t$ = Trim$(Suche.Text) IF t$ <> "" THEN SucheStarten(t$) END IF END IF END I introduced t$ (old BASIC manners,

Re: [Gambas-user] Compiling Gambas3 on Fedora 12

2010-04-20 Thread Matteo Pasotti
Il 20/04/2010 16:35, Benoît Minisini ha scritto: >> Il 19/04/2010 20:22, Matteo Pasotti ha scritto: >> >>> Hi All, >>> I'm trying to compile gambas3 on Fedora 12 x86_64 and I can't >>> understand which package I must install to enable gb.gtk. >>> Currently I've installed gtk+-devel, gtk2-deve

Re: [Gambas-user] TextBox and CR

2010-04-20 Thread Benoît Minisini
> On Tuesday 20 April 2010, Caveat wrote: > > Hi Rolf, > > I guess you're right. I threw the code together very quickly, just to > > make a working example for you. But 100% correct, you don't need lcode > > or AS Variant or DIM or lcode = Key.Code... :-) > > In general I should say the same. Bu

Re: [Gambas-user] TextBox and CR

2010-04-20 Thread Ron_1st
On Tuesday 20 April 2010, Caveat wrote: > Hi Rolf, > I guess you're right.  I threw the code together very quickly, just to > make a working example for you.  But 100% correct, you don't need lcode > or AS Variant or DIM or lcode = Key.Code... :-) In general I should say the same. But Key.Code is

Re: [Gambas-user] Compiling Gambas3 on Fedora 12

2010-04-20 Thread Benoît Minisini
> Il 19/04/2010 20:22, Matteo Pasotti ha scritto: > > Hi All, > > I'm trying to compile gambas3 on Fedora 12 x86_64 and I can't > > understand which package I must install to enable gb.gtk. > > Currently I've installed gtk+-devel, gtk2-devel and gtk+extra-devel > > but nothing change. > > Does anyo

Re: [Gambas-user] Compiling Gambas3 on Fedora 12

2010-04-20 Thread Matteo Pasotti
Il 19/04/2010 20:22, Matteo Pasotti ha scritto: > Hi All, > I'm trying to compile gambas3 on Fedora 12 x86_64 and I can't > understand which package I must install to enable gb.gtk. > Currently I've installed gtk+-devel, gtk2-devel and gtk+extra-devel > but nothing change. > Does anyone has any t

Re: [Gambas-user] TextBox and CR

2010-04-20 Thread Caveat
Hi Rolf, I guess you're right. I threw the code together very quickly, just to make a working example for you. But 100% correct, you don't need lcode or AS Variant or DIM or lcode = Key.Code... :-) Let's just hope this doesn't turn into another marathon "static const?" thread ;-) Regards, Cavea

Re: [Gambas-user] TextBox and CR

2010-04-20 Thread Rolf-Werner Eilert
Great, thanks! I just wonder why you load Key.Code into a variable before examining it - isn't Key.Code a "variable" itself? (Or is it a function, and you wanted to avoid calling it more than once?) Rolf Am 20.04.2010 10:58, schrieb Caveat: > Hi Rolf > > You could try this: > PUBLIC SUB TextB

Re: [Gambas-user] Problem with directory /lib

2010-04-20 Thread Benoît Minisini
> -Mensaje original- > De: craf > Reply-to: mailing list for gambas users > > Para: Lista Gambas Ingles > Asunto: [Gambas-user] Problem with directory /lib > Fecha: Mon, 19 Apr 2010 11:15:32 -0400 > > >Hi. > > > >I managed to install a console program compiled on Ubuntu 9.04 to Ubuntu >

Re: [Gambas-user] TextBox and CR

2010-04-20 Thread Caveat
Hi Rolf You could try this: PUBLIC SUB TextBox1_KeyPress() DIM lcode AS Variant lcode = Key.Code IF NOT IsNull(lcode) THEN IF lcode = Key.Enter OR lcode = Key.Return THEN Message.Info("Go SEARCH buddy!") END IF END IF END Regards, Caveat On Tue, 2010-04-20 at

[Gambas-user] TextBox and CR

2010-04-20 Thread Rolf-Werner Eilert
Good morning everyone! In one of my programs there is a TextBox enabling the user to type in a search word. The TextBox seems to ignore a Return at the end, so I chose a "?" at the end of the string to indicate "go and search". It's a bit roundabout, however, isn't there a way to tell TextBox t