Re: [Gambas-user] can't call a procedure from a different module

2009-12-01 Thread Kadaitcha Man
2009/12/2 kevinfishburne : > (2) Module "Server" then calls the procedure "Init" contained within module > "Net" (Net.Init). Net is reserved for the Net class of constants in gambas. Rename the module. -- Join us Decembe

Re: [Gambas-user] Component Show, Hide, Visible

2009-12-01 Thread Kadaitcha Man
2009/12/2 D. L. Fox : > Sorry for the newbie question but... > > What is the difference between setting the Visible property to False and > calling the Hide() method? Hide is a method, Visible is a property. You can't check if X is visible or not by calling Hide(). Otherwise, I dare say the two a

[Gambas-user] SDL component documentation

2009-12-01 Thread kevinfishburne
I've noticed that the documentation for the SDL component is incomplete. There are some basic examples in the BeastScroll example application packaged with GAMBAS, but is there a more extensive list of procedures implemented in GAMBAS for SDL? I'm guessing that the next best way of figuring out w

[Gambas-user] can't call a procedure from a different module

2009-12-01 Thread kevinfishburne
I'm hoping that I've just overlooked something really obvious and stupid, but am stumped (perhaps it's the four beers...). I'm receiving the error message "Unknown symbol 'Init' in class 'Net'" while trying to call a procedure from a different module. Here's the basic program flow: (1) Startup mo

[Gambas-user] Component Show, Hide, Visible

2009-12-01 Thread D. L. Fox
Sorry for the newbie question but... What is the difference between setting the Visible property to False and calling the Hide() method? -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focuse

Re: [Gambas-user] Serial Port Change Events Not Working after Upgrade to Karmic

2009-12-01 Thread Benoît Minisini
>Thanks Benoit and all for your speedy replies.. >I'm using the serial port in a timing application with 3 laser through > beam sensors feeding into the CTS, RI and DSR lines of the serial port. In > this mode I don't pass any data, don't really care about flow control and > am only inte

Re: [Gambas-user] SYSTEM NOTIFICATIONS

2009-12-01 Thread Toni
Hi, I haven't tried it, but maybe libnotify (http://library.gnome.org/devel/libnotify/) is what it could be used here to crate a component? On the other hand I don't know whether freedesktop.org have something similar to xdg-open for desktop neutral system notifications... Despite my previous

Re: [Gambas-user] Serial Port Change Events Not Working after Upgrade to Karmic

2009-12-01 Thread Tony
Thanks Benoit and all for your speedy replies.. I'm using the serial port in a timing application with 3 laser through beam sensors feeding into the CTS, RI and DSR lines of the serial port. In this mode I don't pass any data, don't really care about flow control and am only interes

Re: [Gambas-user] Xview selection cursor info

2009-12-01 Thread Fabien Bodard
2009/12/1 Jean-Yves F. Barbier <12u...@gmail.com>: > Fabien Bodard a écrit : >> si : >> >> PUBLIC SUB OBS_Open() >> >>     ' IF IsNull($sfrmNouveau) THEN Error.Raise("Vous devez définir un >> formulaire Nouveau") >>     ' IF IsNull($sModifier) THEN Error.Raise("Vous devez définir un >> formulaire M

Re: [Gambas-user] Serial Port Change Events Not Working aft er Upgrade to Karmic

2009-12-01 Thread Benoît Minisini
>Thanks for the suggestion Ricardo. >I have already compiled G2.18 from source onto Ubuntu 9.04. The > application was working fine on Ubuntu 9.04 with G2.8 but fails with > G2.18, so this makes me think that there is a problem which may have been > introduced between G2.8 and G2.13 (th

Re: [Gambas-user] Serial Port Change Events Not Working after Upgrade to Karmic

2009-12-01 Thread Tony
Thanks for the suggestion Ricardo. I have already compiled G2.18 from source onto Ubuntu 9.04. The application was working fine on Ubuntu 9.04 with G2.8 but fails with G2.18, so this makes me think that there is a problem which may have been introduced between G2.8 and G2.13 (the b

Re: [Gambas-user] Xview selection cursor info

2009-12-01 Thread Jean-Yves F. Barbier
Fabien Bodard a écrit : > si : > > PUBLIC SUB OBS_Open() > > ' IF IsNull($sfrmNouveau) THEN Error.Raise("Vous devez définir un > formulaire Nouveau") > ' IF IsNull($sModifier) THEN Error.Raise("Vous devez définir un > formulaire Modifier") > IF IsNull($hGrid.DataField) THEN ERROR.Rais

Re: [Gambas-user] Xview selection cursor info

2009-12-01 Thread Fabien Bodard
si : PUBLIC SUB OBS_Open() ' IF IsNull($sfrmNouveau) THEN Error.Raise("Vous devez définir un formulaire Nouveau") ' IF IsNull($sModifier) THEN Error.Raise("Vous devez définir un formulaire Modifier") IF IsNull($hGrid.DataField) THEN ERROR.Raise("Vous devez definir le champ identificat

Re: [Gambas-user] Xview selection cursor info

2009-12-01 Thread Jean-Yves F. Barbier
Fabien Bodard a écrit : ... > simple :) > GridView1.Row = 0 > > (it work I've tested it Already tested: don't work not on your code :( -- Repartee is something we think of twenty-four hours too late. -- Mark Twain

Re: [Gambas-user] Xview selection cursor info

2009-12-01 Thread Fabien Bodard
2009/12/1 Jean-Yves F. Barbier <12u...@gmail.com>: > Fabien Bodard a écrit : > > @#&!§ Murphy: the only one I didn't test:( > >> and the third question ? i don't understand what you want ? > > this is Q3 >>  first visible row : >> >> irow = GridView1.RowAt(1) >> >> LastVisible Row : >> >> irow

Re: [Gambas-user] SYSTEM NOTIFICATIONS

2009-12-01 Thread Ricardo Díaz Martín
Thanks Benoit. There is a comand line in debian I can use: notify-send Regards, Ricardo Díaz 2009/12/1 Benoît Minisini > > Is there some way to call os system notifications (something like "Files > > copy finished") in gambas2? > > Not directly, even in Gambas 3. If you know where I can find

Re: [Gambas-user] Xview selection cursor info

2009-12-01 Thread Jean-Yves F. Barbier
Fabien Bodard a écrit : @#&!§ Murphy: the only one I didn't test:( > and the third question ? i don't understand what you want ? this is Q3 > first visible row : > > irow = GridView1.RowAt(1) > > LastVisible Row : > > irow = GridView1.RowAt(GridView.ClientHeight - 1) this Q3 enhanced >

Re: [Gambas-user] SYSTEM NOTIFICATIONS

2009-12-01 Thread Benoît Minisini
> Is there some way to call os system notifications (something like "Files > copy finished") in gambas2? Not directly, even in Gambas 3. If you know where I can find the specifications... I think, for Gambas 3, that a DBus call should be enough, but which one? Anyway I guess there is a command

Re: [Gambas-user] Xview selection cursor info

2009-12-01 Thread Fabien Bodard
http://gambasdoc.org/help/comp/gb.qt/gridview/mode http://gambasdoc.org/help/comp/gb.qt/gridview/row and the third question ? i don't understand what you want ? first visible row : irow = GridView1.RowAt(1) LastVisible Row : irow = GridView1.RowAt(GridView.ClientHeight - 1) But it don't

[Gambas-user] SYSTEM NOTIFICATIONS

2009-12-01 Thread Ricardo Díaz Martín
Is there some way to call os system notifications (something like "Files copy finished") in gambas2? -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computin

Re: [Gambas-user] Problem building Gambas3 on openSUSE 11.2

2009-12-01 Thread Werner
On 28/11/09 05:44, Benoît Minisini wrote: >> On 21/11/09 18:43, Benoît Minisini wrote: >> On 20/11/09 17:28, Werner wrote: > Suse 11.2 came out last week. I seem to remember that it worked fine > with 11.1 using qt3. > > My problem is that I can't configure s

Re: [Gambas-user] Serial Port Change Events Not Working after Upgrade to Karmic

2009-12-01 Thread Ricardo Díaz Martín
Tony, Try to compile gambas2 again. I got similar problem with apps after upgrade ubuntu from 9.04 yo 9.10 and it was necessary to do this: sudo apt-get install build-essential autoconf libbz2-dev libfbclient2 libmysqlclient15-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev libgtk2.0-dev

[Gambas-user] Serial Port Change Events Not Working after Upgrade to Karmic

2009-12-01 Thread Tony
Hi, I have a Gambas2 application (gb.qt) checking for status change events on the CTS, RI and DSR signals (SerialPort-gb.net class) of a USB to serial converter (Prolific pl2303) which works fine on Ubuntu 9.04 (Gambas2 2.8 and kernel 2.6.28-16-generic 32bit). After upgrade to Ubuntu 9.10 (Gam