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 to
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
-Mensaje original-
De: craf p...@vtr.net
Reply-to: mailing list for gambas users
gambas-user@lists.sourceforge.net
Para: Lista Gambas Ingles gambas-user@lists.sourceforge.net
Asunto: [Gambas-user] Problem with directory /lib
Fecha: Mon, 19 Apr 2010 11:15:32 -0400
Hi.
I managed
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
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,
Caveat
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 tips?
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
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 in
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
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-devel and
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, I
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 IF
END
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
^
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
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 there!
--
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.
Currently I've
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.
Currently
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:
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?
Thanks
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?
Thanks Benoît,
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 gam...@users.sourceforge.net wrote:
From: Benoît Minisini gam...@users.sourceforge.net
Subject: Re: [Gambas-user] Compiling Gambas3 on Fedora 12
To:
21 matches
Mail list logo