Re: [Gambas-user] Bug in Gambas 2.9 and Gnome 2.24

2008-12-13 Thread Benoit Minisini
On dimanche 14 décembre 2008, Leonardo Miliani wrote: > Benoit Minisini ha scritto: > > On mardi 9 décembre 2008, Leonardo Miliani wrote: > >> Benoit Minisini ha scritto: > >>> On mardi 9 décembre 2008, Gaël Le Hec'H wrote: > I confirm the problem on fedora 10 with gnome 2.24.2 and gambas2 2.9

Re: [Gambas-user] Wish list for a tooltip feature

2008-12-13 Thread Benoit Minisini
On dimanche 14 décembre 2008, richard terry wrote: > I wondered if there would be any way or perhaps future feature to be able > to set the tooltip font/size? > > Reason being that in some circumstances the font size is quite large > compared to ones underlying control/design. > > Regards > > Richa

[Gambas-user] Wish list for a tooltip feature

2008-12-13 Thread richard terry
I wondered if there would be any way or perhaps future feature to be able to set the tooltip font/size? Reason being that in some circumstances the font size is quite large compared to ones underlying control/design. Regards Richard

Re: [Gambas-user] Bug in Gambas 2.9 and Gnome 2.24

2008-12-13 Thread Leonardo Miliani
Benoit Minisini ha scritto: > On mardi 9 décembre 2008, Leonardo Miliani wrote: >> Benoit Minisini ha scritto: >>> On mardi 9 décembre 2008, Gaël Le Hec'H wrote: I confirm the problem on fedora 10 with gnome 2.24.2 and gambas2 2.9.0 with the clock example Gaël Le Hec'H >>> Just

Re: [Gambas-user] An other problem with object oriented approach.

2008-12-13 Thread Benoit Minisini
On samedi 13 décembre 2008, Jussi Lahtinen wrote: > Ok, thanks! > Those items have unique long type id number. > Maybe I'm wrong but to me string keys sounds slow. > Perhaps binary mode is quicker ( > http://gambasdoc.org/help/comp/gb/collection/_new?show ). > But I think this is the right way to g

Re: [Gambas-user] An other problem with object oriented approach.

2008-12-13 Thread Jussi Lahtinen
Ok, thanks! Those items have unique long type id number. Maybe I'm wrong but to me string keys sounds slow. Perhaps binary mode is quicker ( http://gambasdoc.org/help/comp/gb/collection/_new?show ). But I think this is the right way to go! I didn't find this from documentation, so do anyone know w

Re: [Gambas-user] An other problem with object oriented approach.

2008-12-13 Thread Fabien Bodard
yes you soluce is collection 2008/12/13 Werner : > Jussi Lahtinen wrote: >> Hi! >> >> I'm converting Vb6 project to Gambas. >> And because Gambas doesn't have UDT/structures, I have to rethink some >> of the code (not necessary bad thing). >> I'm converting some parts of the code to object orien

Re: [Gambas-user] Hex string to float

2008-12-13 Thread Doriano Blengino
nando ha scritto: > I'm sorry, but I cannot see this as correct. > Saving a 4 byte value in integer format then > reading in the same 4 byte value and place it in an float variable > performs no conversion. > Conversion is needed due to how we want to interpret the type of data. > Indeed it does

Re: [Gambas-user] An other problem with object oriented approach.

2008-12-13 Thread Werner
Jussi Lahtinen wrote: > Hi! > > I'm converting Vb6 project to Gambas. > And because Gambas doesn't have UDT/structures, I have to rethink some > of the code (not necessary bad thing). > I'm converting some parts of the code to object oriented way. > But I run into some problems with it. > I have mo

[Gambas-user] Command completion

2008-12-13 Thread gambas
Hi Benoit, in Gambas3 (snapshot from friday), when writing a long line, so that the IDE begins to scroll, there is no command completion anymore. Greetz Stevie -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 i

[Gambas-user] An other problem with object oriented approach.

2008-12-13 Thread Jussi Lahtinen
Hi! I'm converting Vb6 project to Gambas. And because Gambas doesn't have UDT/structures, I have to rethink some of the code (not necessary bad thing). I'm converting some parts of the code to object oriented way. But I run into some problems with it. I have module which contains mainly global arr

Re: [Gambas-user] Hex string to float

2008-12-13 Thread nando
I'm sorry, but I cannot see this as correct. Saving a 4 byte value in integer format then reading in the same 4 byte value and place it in an float variable performs no conversion. Conversion is needed due to how we want to interpret the type of data. -- Original Message --- From

Re: [Gambas-user] Hex string to float

2008-12-13 Thread nando
A few more questions: How do you get these values (reading a stream, file, rs232, ?) How do you save these when you read them? Are you reading/capturing 4 bytes or 8 Hex digits? -Fernando -- Original Message --- From: Ron To: nand...@nothingsimple.com, mailing list for gambas use

Re: [Gambas-user] Hex string to float

2008-12-13 Thread hjherbert
... For 32 Float use the "Single" data type. See http://gambasdoc.org/help/cat/datatypes See http://gambasdoc.org/help/lang/type/single The example conversion may be done by this way: PUBLIC SUB DemoSingle() DIM i AS Integer DIM f AS Single DIM hH AS File i = &h3fd5& OPEN "/tmp/hexfloat.tmp

Re: [Gambas-user] Hex string to float

2008-12-13 Thread hjherbert
Float number as you mean are 32 bit float numbers see http://en.wikipedia.org/wiki/Single_precision Float numbers in GAMBAS are 64 bit float numbers see http://en.wikipedia.org/wiki/Double_precision The follow program demonstrates how to convert a 64 Bit long value into a 64 bit gambas FLOAT (=

Re: [Gambas-user] Hex string to float

2008-12-13 Thread Ron
nando schreef: > Two Questions: > 1) Is the HEX you show below the HEX representation of 4B of a IEEE 4B Float? > 2) How do you get these values? (read in from file? something else?) > -Fernando > > Yes those where IEEE floats, I needed the routine to decode values read from zigbee devices cal

Re: [Gambas-user] Emulating wizard Back/Next navigation

2008-12-13 Thread Fabien Bodard
it better to have a demo ... and it work fine ... take it and tell me if that is what you want. demowizard-0.0.2.tar.gz Description: GNU Zip compressed data -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las