[Gambas-user] Printer Class not available in GUI component or GTK

2009-10-02 Thread Steven James Drinnan
Benniot just noticed that the Printer class is not available when you when you use GUI or GTK. But the documentation says that you can use it in GTK. Is this by design? If so the GTK-Draw.Begin help page should be updated to reflect this. Steven

Re: [Gambas-user] Arithmetic failure in project

2009-10-02 Thread Horst Günther Burkhardt III
On Mon, 2009-09-21 at 21:20 +0200, Charlie Reinl wrote: Am Dienstag, den 22.09.2009, 03:42 +1000 schrieb Horst Günther Burkhardt III: Hey everybody. I'm building a basic flash exposure calculator with floats and extremely precise arithmetic, to benefit those of us who happen to list

Re: [Gambas-user] gambase and modbus

2009-10-02 Thread Mike
Jean-Yves F. Barbier wrote: Hi folks, Does anybody have experience (and code) of ModBus driven by Gambas? JY ASCII or RTU Mike -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only

Re: [Gambas-user] gambase and modbus

2009-10-02 Thread Petit Eric
I did it in C# and VB.Net, Modbus protocol is pretty simple, you can easy find protocol definition on the web, after what the transport, serial or Ethernet is standard, so basically, if gambas support serial port writing, you just need to write it in the serial port component 2009/10/2 Mike

[Gambas-user] ComboBox.Find (gb.qt) syntax

2009-10-02 Thread richard terry
ComboBox.Find (gb.qt) Syntax FUNCTION Find ( Item AS String ) AS Integer Finds an element in the poup list box and returns its index, or -1 if the element cannot be found. This appears to be case sensitive which is a pity. I wonder if it would be possible to have a flag in this routine to

Re: [Gambas-user] ComboBox.Find (gb.qt) syntax

2009-10-02 Thread Benoît Minisini
ComboBox.Find (gb.qt) Syntax FUNCTION Find ( Item AS String ) AS Integer Finds an element in the poup list box and returns its index, or -1 if the element cannot be found. This appears to be case sensitive which is a pity. I wonder if it would be possible to have a flag in this

Re: [Gambas-user] Arithmetic failure in project

2009-10-02 Thread Doriano Blengino
Horst Günther Burkhardt III ha scritto: On Mon, 2009-09-21 at 21:20 +0200, Charlie Reinl wrote: Am Dienstag, den 22.09.2009, 03:42 +1000 schrieb Horst Günther Burkhardt III: Hey everybody. I'm building a basic flash exposure calculator with floats and extremely precise

Re: [Gambas-user] gambase and modbus

2009-10-02 Thread Jean-Yves F. Barbier
Mike a écrit : Jean-Yves F. Barbier wrote: Hi folks, Does anybody have experience (and code) of ModBus driven by Gambas? JY ASCII or RTU either -- Eat shit -- billions of flies can't be wrong. -- Come build

Re: [Gambas-user] gambase and modbus

2009-10-02 Thread Jean-Yves F. Barbier
Petit Eric a écrit : find some of my first tool here : http://www.plcs.net/downloads/index.php?direction=0order=directory=Misc http://www.plcs.net/downloads/index.php?direction=0order=directory=Modicon Ok thanks, but there not much. Anyway, I think I found what I need with OpenScada. --

Re: [Gambas-user] gambase and modbus

2009-10-02 Thread Werner
Jean-Yves F. Barbier wrote: Petit Eric a écrit : find some of my first tool here : http://www.plcs.net/downloads/index.php?direction=0order=directory=Misc http://www.plcs.net/downloads/index.php?direction=0order=directory=Modicon Ok thanks, but there not much. Anyway, I think I

Re: [Gambas-user] gambase and modbus

2009-10-02 Thread Jean-Yves F. Barbier
Werner a écrit : ... Depends on what you use it for, it's not free for commercial purposes. You have propably seen http://copyleft.free.fr/wordpress/index.php/libmodbus/ Thanks Werner, this look interesting. But AFAIK, GPLv3 LGPLv3 don't forbid commercial use as far as you provide a

Re: [Gambas-user] Arithmetic failure in project..Solution

2009-10-02 Thread nando
Friend, I have gone through your project and I ran it with these changes: (1) in SUB action_click...insert above this line: result = (exposure * (guidenumber / distance) * (flashcompensation) * (multicompensation)) these four lines: IF gn_feet.Value = TRUE THEN guidenumber = (input_gn.Value /