[Gambas-user] Infinite loop with the image editor

2008-12-09 Thread Simonart Dominique
Hi, May be it's me, but ... in the gambas 2.9 IDE (opensuse 11.0 KDE 3, Qt project), create a new image1.png file. after drawing something on the area, select the transparent color and the fill tool then click on a colored pixel and you enter in infinite loop. By the way, I search a solution to

Re: [Gambas-user] Height and width units?

2008-12-09 Thread Benoit Minisini
On mardi 9 décembre 2008, Jussi Lahtinen wrote: > >> Anyhow the problem is GTK component, and I noticed an other problem > >> too. GTK is about 40 times slower when talking about Draw.Picture() !! > > > > Mmm. GTK+ is slower than QT, but not 40 times. Can you show your code? > > No problem, it's

Re: [Gambas-user] Height and width units?

2008-12-09 Thread Benoit Minisini
On mardi 9 décembre 2008, Jussi Lahtinen wrote: > >> Anyhow the problem is GTK component, and I noticed an other problem > >> too. GTK is about 40 times slower when talking about Draw.Picture() !! > > > > Mmm. GTK+ is slower than QT, but not 40 times. Can you show your code? > > No problem, it's

Re: [Gambas-user] Height and width units?

2008-12-09 Thread Benoit Minisini
On mardi 9 décembre 2008, Benoit Minisini wrote: > On mardi 9 décembre 2008, Jussi Lahtinen wrote: > > > Which GUI component do you use? > > > > GTK, I tried to switch it to QT, and problem gone! > > Is switching GUI component legit thing to do, or can I mess up my code > > with it? This time eve

Re: [Gambas-user] Table "too many arguments"

2008-12-09 Thread Benoit Minisini
On mardi 9 décembre 2008, Ron wrote: > Hi, > > I need to define this crc hash table in my gambas project. > > But I get "too many arguments", what alternatives do I have? > > Thanks. > > Regards, > Ron_2nd > > PUBLIC table AS Integer[] = [&H, &H1021, &H2042, &H3063, &H4084, > &H50A5, &H60C6, &H

[Gambas-user] Table "too many arguments"

2008-12-09 Thread Ron
Hi, I need to define this crc hash table in my gambas project. But I get "too many arguments", what alternatives do I have? Thanks. Regards, Ron_2nd PUBLIC table AS Integer[] = [&H, &H1021, &H2042, &H3063, &H4084, &H50A5, &H60C6, &H70E7, &H8108, &H9129, &HA14A, &HB16B, &HC18C, &HD1AD, &HE

Re: [Gambas-user] Ask about com access

2008-12-09 Thread jose julio vidal
More info (control codes to open your cash drawer) http://pages.prodigy.net/daleharris/popopen.htm http://pages.prodigy.net/daleharris/popopen2.htm El mar, 09-12-2008 a las 04:23 +0800, Leo Sendra escribió: > Hi Jose.. thanks for the sharing... but, I have a question... What is the > meaning o

Re: [Gambas-user] Height and width units?

2008-12-09 Thread Jussi Lahtinen
> QUIT actually aborts the program. If you want to cleanly quit your program, > just close your windows. Ok that makes sense, thanks! So there is not any command to close all windows? Or some generic way to do it, something like FOR EACH Form ...Me.Close...? My main project will have ab

Re: [Gambas-user] Height and width units?

2008-12-09 Thread Benoit Minisini
On mardi 9 décembre 2008, Jussi Lahtinen wrote: > One more thing about that code > Press Exit button (gives just the Quit command), and IDE gives messages: > > WARNING: circular references detected > FMain (1) > Mutex destroy failure: Device or resource busy > WARNING: 15 allocation(s) non free

Re: [Gambas-user] Height and width units?

2008-12-09 Thread Jussi Lahtinen
One more thing about that code Press Exit button (gives just the Quit command), and IDE gives messages: WARNING: circular references detected FMain (1) Mutex destroy failure: Device or resource busy WARNING: 15 allocation(s) non freed. Am I doing something wrong with that? Do I need to free o

Re: [Gambas-user] Height and width units?

2008-12-09 Thread Jussi Lahtinen
>> Anyhow the problem is GTK component, and I noticed an other problem too. >> GTK is about 40 times slower when talking about Draw.Picture() !! > > Mmm. GTK+ is slower than QT, but not 40 times. Can you show your code? No problem, it's just stupid performance test / tile engine prototype. See

Re: [Gambas-user] Height and width units?

2008-12-09 Thread Benoit Minisini
On mardi 9 décembre 2008, Jussi Lahtinen wrote: > > Which GUI component do you use? > > GTK, I tried to switch it to QT, and problem gone! > Is switching GUI component legit thing to do, or can I mess up my code > with it? This time everything ok, but with real project... maybe I'm just > having

Re: [Gambas-user] Height and width units?

2008-12-09 Thread Jussi Lahtinen
> Which GUI component do you use? GTK, I tried to switch it to QT, and problem gone! Is switching GUI component legit thing to do, or can I mess up my code with it? This time everything ok, but with real project... maybe I'm just having M$ nightmare induced paranoia... Anyhow the problem is

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

2008-12-09 Thread Benoit Minisini
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 an idea: do you use Compiz?

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

2008-12-09 Thread Benoit Minisini
On mardi 9 décembre 2008, Benoit Minisini wrote: > On mardi 9 décembre 2008, Jaap Cramer wrote: > > I've maybe a similar problem, with my balloons. They have a border (like > > the image of the clock) I do use gnome 2.24.2 with compiz > > > > Jaap > > I just noticed that on Mandriva the Gnome versi

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

2008-12-09 Thread Benoit Minisini
On mardi 9 décembre 2008, Jaap Cramer wrote: > I've maybe a similar problem, with my balloons. They have a border (like > the image of the clock) I do use gnome 2.24.2 with compiz > > Jaap > I just noticed that on Mandriva the Gnome version is 2.24.0. Maybe there is a bug^W new feature in the 2.2

Re: [Gambas-user] Another graphical bug in Gambas 2.9

2008-12-09 Thread Leonardo Miliani
Benoit Minisini ha scritto: > On dimanche 7 décembre 2008, Leonardo Miliani wrote: >> Benoit Minisini ha scritto: >>> On dimanche 7 décembre 2008, Leonardo Miliani wrote: Maybe I found another graphical bug in Gambas 2.9. I use Ubuntu 8.10 with Gnome 2.24 and if I use a Qt project I

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

2008-12-09 Thread Jaap Cramer
I've maybe a similar problem, with my balloons. They have a border (like the image of the clock) I do use gnome 2.24.2 with compiz Jaap > Date: Tue, 9 Dec 2008 10:31:40 +0100 > From: [EMAIL PROTECTED] > To: gambas-user@lists.sourceforge.net > Subject: Re: [Gambas-user] Bug in Gambas 2.9 and Gn

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

2008-12-09 Thread Leonardo Miliani
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 an idea: do you use Compiz? > No, I don't. I attach a screenshot to let you see the pro