Re: [Gambas-user] Selection from GridView

2009-09-09 Thread Ricardo Díaz Martín
To do the first write (select first, third and sixth rows - gvYourGridView is the name of the gridview in your form) gvYourGridView.Rows.[0].Selected = True gvYourGridView.Rows.[2].Selected = True gvYourGridView.Rows.[5].Selected = True To do the second only write gvYourGridView.Rows.Unselect

Re: [Gambas-user] Obtain my IP with Gambas

2009-09-09 Thread Steven James Drinnan
Sorry here is a revised one with a wan IP lookup DIM mycmd AS String DIM myIP AS String DIM myWanIP AS String 'returns the ip of a particular device replace eth0 with the name of the device mycmd = "ifconfig eth0| grep -w 'inet addr'| cut -d: -f2| awk '{print $1}'" 'mycmd = "ifconfig| grep -w 'in

Re: [Gambas-user] Obtain my IP with Gambas

2009-09-09 Thread Steven James Drinnan
You could try this DIM mycmd AS String DIM myIP AS String mycmd = "ifconfig| grep -w 'inet addr' | grep -v '127.0.0.1' | cut -d: -f2| awk '{print $1}'" SHELL mycmd TO myip PRINT myip Have not confirmed what it returns but by the looks it returns the local assigned ip. Not the wan side. On W

[Gambas-user] Release of Gambas 2.16

2009-09-09 Thread Benoît Minisini
Hi, This new release includes the main following changes: - Gambas now compiles with libtool 2.x on recent Ubuntu versions. - CTRL+PageUp and CTRL+PageDown now switch between tabs in the IDE. - Shortcuts are correctly saved in all cases in the IDE menu editor. - The READ instruction has been f

[Gambas-user] Selection from GridView

2009-09-09 Thread Aleksandrs Livshics
Hi Gambas users. I cannot fond how to select several rows from a GridView. The difficulty happens only if the rows to select are not consequent. If there is a simple interval of rows, then selection works well, but if I want to select, say, row1 and row5 ? Also how can a row selection be canceled

Re: [Gambas-user] Obtain my IP with Gambas

2009-09-09 Thread Ron_1st
On Wednesday 09 September 2009, Benoît Minisini wrote: > IP address are attached to network interfaces, and I'm not sure that a > network > interface could not have several IP, and different types of IPs. > Yes it can be done. More IP at one interface. I have a remote sites IP addres as second

Re: [Gambas-user] Obtain my IP with Gambas

2009-09-09 Thread Jean-Yves F. Barbier
Benoît Minisini a écrit : >> On Wednesday 09 September 2009, Benoît Minisini wrote: it's OK, I think there must be something like User.IP :) Regards -- David >>> The IP address is not related to the user at all. >> How about System.IP? >> >> >> However David

Re: [Gambas-user] Obtain my IP with Gambas

2009-09-09 Thread Benoît Minisini
> On Wednesday 09 September 2009, Benoît Minisini wrote: > > > it's OK, I think there must be something like User.IP :) > > > > > > Regards > > > > > > > > > -- > > > David > > > > The IP address is not related to the user at all. > > How about System.IP? > > > However David Villalobos did

Re: [Gambas-user] Obtain my IP with Gambas

2009-09-09 Thread Ron_1st
On Wednesday 09 September 2009, Benoît Minisini wrote: > > it's OK, I think there must be something like User.IP :) > > > > Regards > > > > > > -- > > David > > > > The IP address is not related to the user at all. > How about System.IP? However David Villalobos did not tell which IP

Re: [Gambas-user] declaring control groups at runtime

2009-09-09 Thread Matteo Pasotti
Thanks Doriano, it's clear and it works perfectly :-) Regards, Matteo Doriano Blengino ha scritto: > Matteo Pasotti ha scritto: > >> Hi, >> I'm writing an application that once read a configuration file, it >> creates at runtime some buttons. >> My problem is represented by the declaration

Re: [Gambas-user] Obtain my IP with Gambas

2009-09-09 Thread David Villalobos Cambronero
Hi, It works just fine. Thanks Jean-Yves Regards -- David - Original Message From: Jean-Yves F. Barbier <12u...@gmail.com> To: mailing list for gambas users Sent: Wednesday, September 9, 2009 9:44:14 AM Subject: Re: [Gambas-user] Obtain my IP with Gambas David Villalobos Cambronero

Re: [Gambas-user] Obtain my IP with Gambas

2009-09-09 Thread Benoît Minisini
> it's OK, I think there must be something like User.IP :) > > Regards > > > -- > David > The IP address is not related to the user at all. -- Benoît Minisini -- Let Crystal Reports handle the reporting - Free

Re: [Gambas-user] Obtain my IP with Gambas

2009-09-09 Thread Jean-Yves F. Barbier
David Villalobos Cambronero a écrit : > Hi, is there an easy way to obtain my IP address? by shell, I use: ifconfig | grep inet | cut -d: -f2 | cut -d' ' -f1 | grep -v 127 if you have multiple interfaces, you must add (for each unwanted): | grep -v nnn.nnn.nnn.nnn at the end HTH JY -- I don't

Re: [Gambas-user] Obtain my IP with Gambas

2009-09-09 Thread David Villalobos Cambronero
it's OK, I think there must be something like User.IP :) Regards -- David - Original Message From: nando To: mailing list for gambas users Sent: Wednesday, September 9, 2009 9:23:55 AM Subject: Re: [Gambas-user] Obtain my IP with Gambas The way I do it is by shelling the ip

Re: [Gambas-user] Obtain my IP with Gambas

2009-09-09 Thread nando
The way I do it is by shelling the ip command At the prompt: ip addr | grep -w "inet" I have redirected it to a file and parse items the lines I have used SHELL ".." FOR READ and used PROCESS_READ to parse the lines Somebody may have something much more elegant. -Fernando -- Origin

[Gambas-user] Obtain my IP with Gambas

2009-09-09 Thread David Villalobos Cambronero
Hi, is there an easy way to obtain my IP address? Regards -- David -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployme

Re: [Gambas-user] gambas-mysqladmin

2009-09-09 Thread Werner
> Wonderful, support and program are wonderful > > suggestion : 0 should mean ALL > > Thanks > > > -- maybe -1 should mean all. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simpli

Re: [Gambas-user] another IDE cut/n paste behaviour

2009-09-09 Thread Charlie Reinl
Am Mittwoch, den 09.09.2009, 12:58 +0200 schrieb Benoît Minisini: > > Salut, > > > > on gambas2 and gambas3 (since month) in code editor CTRL+C not always > > works. > > CTRL+V is OK, CTRL+X (I haven't tested) > > > > ContextMenu/Copy works well. > > > > Is that a gambas behaviour or Linux/Ubunt

Re: [Gambas-user] gambas-mysqladmin

2009-09-09 Thread Demosthenes Koptsis
a note. 0.1.0 has a bug with NULL values. Today i fix this bug and i make minor improvements like press Del key to deete a record and so on... In recent future i will make a new release. Please if you see a bug inform me. On Wed, Sep 9, 2009 at 2:05 PM, Charlie Reinl wrote: > Am Mittwoch, den 09

Re: [Gambas-user] declaring control groups at runtime

2009-09-09 Thread Doriano Blengino
Matteo Pasotti ha scritto: > Hi, > I'm writing an application that once read a configuration file, it > creates at runtime some buttons. > My problem is represented by the declaration of a unique event for all > these buttons with the target of recognizing the caller and change some > of its proper

Re: [Gambas-user] gambas-mysqladmin

2009-09-09 Thread Charlie Reinl
Am Mittwoch, den 09.09.2009, 13:54 +0300 schrieb Demosthenes Koptsis: > by default "Number of rows" is one. > Increase this value to desired number and you can see as many records you like > > On Wed, Sep 9, 2009 at 1:32 PM, Charlie Reinl wrote: > > Am Mittwoch, den 09.09.2009, 12:36 +0300 schrieb

Re: [Gambas-user] another IDE cut/n paste behaviour

2009-09-09 Thread Benoît Minisini
> Salut, > > on gambas2 and gambas3 (since month) in code editor CTRL+C not always > works. > CTRL+V is OK, CTRL+X (I haven't tested) > > ContextMenu/Copy works well. > > Is that a gambas behaviour or Linux/Ubuntu 8.04/Xorg behaviour. > Or a problem on my box. > Please give more details on whe

Re: [Gambas-user] gambas-mysqladmin

2009-09-09 Thread Demosthenes Koptsis
by default "Number of rows" is one. Increase this value to desired number and you can see as many records you like On Wed, Sep 9, 2009 at 1:32 PM, Charlie Reinl wrote: > Am Mittwoch, den 09.09.2009, 12:36 +0300 schrieb Demosthenes Koptsis: >> it is my pleasure to code! >> >> I made some changes an

Re: [Gambas-user] reconf-all script sugestion

2009-09-09 Thread Charlie Reinl
Am Mittwoch, den 09.09.2009, 12:45 +0200 schrieb Benoît Minisini: > > Am Mittwoch, den 09.09.2009, 12:22 +0200 schrieb Benoît Minisini: > > > > Hi > > > > I'm trying the svn version of Gambas, so i followed the instruction > > > > by started the "./reconf-all" script and wait long time, become > >

[Gambas-user] another IDE cut/n paste behaviour

2009-09-09 Thread Charlie Reinl
Salut, on gambas2 and gambas3 (since month) in code editor CTRL+C not always works. CTRL+V is OK, CTRL+X (I haven't tested) ContextMenu/Copy works well. Is that a gambas behaviour or Linux/Ubuntu 8.04/Xorg behaviour. Or a problem on my box. -- Amicalment Charlie --

Re: [Gambas-user] reconf-all script sugestion

2009-09-09 Thread Benoît Minisini
> Am Mittwoch, den 09.09.2009, 12:22 +0200 schrieb Benoît Minisini: > > > Hi > > > I'm trying the svn version of Gambas, so i followed the instruction > > > by started the "./reconf-all" script and wait long time, become > > > surprise to see no output, like a dead program, so i suggest to add > >

Re: [Gambas-user] reconf-all script sugestion

2009-09-09 Thread Charlie Reinl
Am Mittwoch, den 09.09.2009, 12:22 +0200 schrieb Benoît Minisini: > > Hi > > I'm trying the svn version of Gambas, so i followed the instruction > > by started the "./reconf-all" script and wait long time, become > > surprise to see no output, like a dead program, so i suggest to add > > the verbo

Re: [Gambas-user] gambas-mysqladmin

2009-09-09 Thread Charlie Reinl
Am Mittwoch, den 09.09.2009, 12:36 +0300 schrieb Demosthenes Koptsis: > it is my pleasure to code! > > I made some changes and bug fixing. Now FBrowse, FUpdate and FInsert > forms can manage NULL values. > > Wait for release 0.1.1. -9<--- Salut,

Re: [Gambas-user] reconf-all script sugestion

2009-09-09 Thread Benoît Minisini
> Hi > I'm trying the svn version of Gambas, so i followed the instruction > by started the "./reconf-all" script and wait long time, become > surprise to see no output, like a dead program, so i suggest to add > the verbosity option to the script, like that : > autoreconf -v $@ > Done in revisi

Re: [Gambas-user] IDE cut/n paste control behaviour Q

2009-09-09 Thread Benoît Minisini
> I've noted that when I cut/n paste a group of multi-selected controls from > one container to another, that once pasted, they are no longer selected. > > This can be really inconvenient because one has to re-selecte them all to > say move-them en-masse within the container. > > Not a problem

Re: [Gambas-user] gambas-mysqladmin

2009-09-09 Thread Demosthenes Koptsis
it is my pleasure to code! I made some changes and bug fixing. Now FBrowse, FUpdate and FInsert forms can manage NULL values. Wait for release 0.1.1. 2009/9/9 Dr. Diesel : > Thank you sir for such a nice program! > > > 2009/9/8 Demosthenes Koptsis > >> Hi to all. >> >> I wrote a very nice progr