Re: [Gambas-user] Slider problem?

2009-09-11 Thread Doriano Blengino
Benoît Minisini ha scritto: >> Benoît Minisini schreef: >> Benoît Minisini schreef: >> If you disable a Slider, so Slider1.Enabled = FALSE , it still fires >> it's MouseUp event when clicked. >> This is not what I expected. Is this expected behaviour? >>

Re: [Gambas-user] Profiler for Gambas projects

2009-09-11 Thread Doriano Blengino
Jussi Lahtinen ha scritto: > It would still have performance impact, > because interpreter would have to constantly check if profiler section > of code is needed to execute. > Compiler isn't used at runtime, so changes should be made to interpreter. > I remember the old good days when turbo pasc

[Gambas-user] Application_mousedown() + Application_keypress() ?

2009-09-11 Thread Lee McPherson
I'm trying to get an application-wide mouse down event to register. I found that when I do a Form_mousedown() it only triggers when you click on an empty part of the form, not when you're clicking on any type of control. I'm looking for something that will trigger whenever you hit the mouse b

Re: [Gambas-user] Slider problem?

2009-09-11 Thread Benoît Minisini
> Benoît Minisini schreef: > >> Benoît Minisini schreef: > If you disable a Slider, so Slider1.Enabled = FALSE , it still fires > it's MouseUp event when clicked. > This is not what I expected. Is this expected behaviour? > > Gambas 2.16.0 gb.qt. > > Regards, > >>

Re: [Gambas-user] intel i7 - parallel processing

2009-09-11 Thread nando
I run simultaneously multiple Gambas apps on a multicore cpu - some very cpu and I/O intensive and SHELLing big scripts in the background. Most impressed I'm with is dual Atom with hyperthreading which looks like four cores to the kernel. My apps are not the same (ie parallel programs). The kernel

[Gambas-user] intel i7 - parallel processing

2009-09-11 Thread Ivan Williams
Greetings I currently program in gambas on a P4 Dual Core with 2 GB RAM and will be upgrading to a I7 system by the end of the quarter. I am wondering if anyone out there is programming on a i7 and if so, what kind of speed are you seeing in program execution? Also, have you had any succ

Re: [Gambas-user] Slider problem?

2009-09-11 Thread Ron
Benoît Minisini schreef: >> Benoît Minisini schreef: >> If you disable a Slider, so Slider1.Enabled = FALSE , it still fires it's MouseUp event when clicked. This is not what I expected. Is this expected behaviour? Gambas 2.16.0 gb.qt. Regards, Ron_2nd.

Re: [Gambas-user] Slider problem?

2009-09-11 Thread Benoît Minisini
> Benoît Minisini schreef: > >> If you disable a Slider, so Slider1.Enabled = FALSE , it still fires > >> it's MouseUp event when clicked. > >> This is not what I expected. Is this expected behaviour? > >> > >> Gambas 2.16.0 gb.qt. > >> > >> Regards, > >> Ron_2nd. > > > > This is not a bug, this is

Re: [Gambas-user] Slider problem?

2009-09-11 Thread Ron
Benoît Minisini schreef: >> If you disable a Slider, so Slider1.Enabled = FALSE , it still fires >> it's MouseUp event when clicked. >> This is not what I expected. Is this expected behaviour? >> >> Gambas 2.16.0 gb.qt. >> >> Regards, >> Ron_2nd. >> >> > > This is not a bug, this is by design.

Re: [Gambas-user] Profiler for Gambas projects

2009-09-11 Thread Jussi Lahtinen
It would still have performance impact, because interpreter would have to constantly check if profiler section of code is needed to execute. Compiler isn't used at runtime, so changes should be made to interpreter. Jussi On Fri, Sep 11, 2009 at 20:20, David Villalobos Cambronero wrote: > What a

Re: [Gambas-user] Slider problem?

2009-09-11 Thread Benoît Minisini
> If you disable a Slider, so Slider1.Enabled = FALSE , it still fires > it's MouseUp event when clicked. > This is not what I expected. Is this expected behaviour? > > Gambas 2.16.0 gb.qt. > > Regards, > Ron_2nd. > This is not a bug, this is by design. The bug is in gb.gtk, where mouse events

gambas-user@lists.sourceforge.net

2009-09-11 Thread Matteo Pasotti
Hi, I'm developing a little application that uses the httpclient class from gb.net.curl component. In this case I used the Post method but I'm not been able to find documentation about it on gambasdoc.org. So, considering that I solved my problem, I would share my little portion of code hoping t

[Gambas-user] How to crash the IDE

2009-09-11 Thread Pino Zollo
Hi, On 2.15.0 . Editing a form select the Background change feature, select Free colour and write into the HEX colour: HDFDFFF --> Type mismatch Wanted Integer got Null Instead FColourChooser.txtHexa_Change.372 ...and IDE dies. Regards Pino -- Key ID: 0xF6768208 Key fingerpr

[Gambas-user] Slider problem?

2009-09-11 Thread Ron
If you disable a Slider, so Slider1.Enabled = FALSE , it still fires it's MouseUp event when clicked. This is not what I expected. Is this expected behaviour? Gambas 2.16.0 gb.qt. Regards, Ron_2nd. -- Let Crystal Repor

Re: [Gambas-user] Profiler for Gambas projects

2009-09-11 Thread David Villalobos Cambronero
What about having an Option to select if run in performace analysis or not, so the compiler will have all the needed code, but only executed if wanted? Regards -- David - Original Message From: Benoît Minisini To: mailing list for gambas users Sent: Friday, September 11, 2009 10:

Re: [Gambas-user] Profiler for Gambas projects

2009-09-11 Thread Jussi Lahtinen
> 5) Run a high resolution timer that increments that counter for the current > function at the time the timer is triggered. How accurate high resolution timer is on Linux? > But I hate slowing down the interpreter for such things. I agree, that is not good option! > Maybe by compiling a sp

Re: [Gambas-user] Profiler for Gambas projects

2009-09-11 Thread Ron
Benoît Minisini schreef: >> I haven't use Valgrind, but I think yes, but I'm only interested about >> performace analysis. >> >> Jussi >> >> > > OK, I read the wikipedia entry and found how gprof works, and now I can see > how it could be done: > > 1) Have a counter for each Gambas function w

Re: [Gambas-user] Profiler for Gambas projects

2009-09-11 Thread Benoît Minisini
> I haven't use Valgrind, but I think yes, but I'm only interested about > performace analysis. > > Jussi > OK, I read the wikipedia entry and found how gprof works, and now I can see how it could be done: 1) Have a counter for each Gambas function written in Gambas and for each public functi

Re: [Gambas-user] a IDE-Bug in 2.16.0 rev 2323

2009-09-11 Thread Charlie Reinl
Am Freitag, den 11.09.2009, 13:34 +0200 schrieb Benoît Minisini: > > Salut Benoit, > > > > > > [OperatingSystem] > > OperatingSystem=Linux > > KernelRelease=2.6.24-24-generic > > DistributionVendor=ubuntu > > DistributionRelease="Ubuntu 8.04.3 LTS" > > > > [System] > > CPUArchitecture=i686 > > T

Re: [Gambas-user] Profiler for Gambas projects

2009-09-11 Thread Jean-Yves F. Barbier
Jussi Lahtinen a écrit : > I haven't use Valgrind, but I think yes, but I'm only interested about > performace analysis. I think that's a nice idea, when I 1st used a python profiler, I found many places where small modifications greatly improved execution time. JY -- I know things about TROY DO

Re: [Gambas-user] Profiler for Gambas projects

2009-09-11 Thread Jussi Lahtinen
I haven't use Valgrind, but I think yes, but I'm only interested about performace analysis. Jussi 2009/9/11 Benoît Minisini : >> Hi all! >> I hope I'm not talking pure non-sense about this, but lets try... >> I was thinking about possibility to make profiler for Gambas projects. >> I readed wiki

Re: [Gambas-user] Profiler for Gambas projects

2009-09-11 Thread Benoît Minisini
> Hi all! > I hope I'm not talking pure non-sense about this, but lets try... > I was thinking about possibility to make profiler for Gambas projects. > I readed wikipedia article about profilers ( > http://en.wikipedia.org/wiki/Profiler_(computer_science)#Statistical_profil > ers ), > and I think

[Gambas-user] Profiler for Gambas projects

2009-09-11 Thread Jussi Lahtinen
Hi all! I hope I'm not talking pure non-sense about this, but lets try... I was thinking about possibility to make profiler for Gambas projects. I readed wikipedia article about profilers ( http://en.wikipedia.org/wiki/Profiler_(computer_science)#Statistical_profilers ), and I think statistical pro

Re: [Gambas-user] Property buttons for popup dialogis in IDE not working - second try

2009-09-11 Thread richard terry
On Friday 11 September 2009 22:53:52 richard terry wrote: Dorry, I meant after 2319. not 2219 I've taken a close look at this and what is happening is that the mouse down, instead of depressing the button > the button disappears from under the mouse. Interestingly if I double click really quick

Re: [Gambas-user] Property buttons for popup dialogis in IDE not working

2009-09-11 Thread Benoît Minisini
> With versions after 2219, the buttons to bring up things like font dialogs, > colors, don't work for me, no-one else seems to be complaining. last > version tried 2230. > > ??just me, if so, any way of tracking this down? > > > Regards > > Richard > I confirm the bug. -- Benoît Minisini

[Gambas-user] Property buttons for popup dialogis in IDE not working

2009-09-11 Thread richard terry
With versions after 2219, the buttons to bring up things like font dialogs, colors, don't work for me, no-one else seems to be complaining. last version tried 2230. ??just me, if so, any way of tracking this down? Regards Richard --

Re: [Gambas-user] a IDE-Bug in 2.16.0 rev 2323

2009-09-11 Thread Benoît Minisini
> Salut Benoit, > > > [OperatingSystem] > OperatingSystem=Linux > KernelRelease=2.6.24-24-generic > DistributionVendor=ubuntu > DistributionRelease="Ubuntu 8.04.3 LTS" > > [System] > CPUArchitecture=i686 > TotalRam=506932 kB > > [Gambas] > Gambas1=gbx-1.0.17 > Gambas1Path=/usr/bin/gbx > Gambas2

Re: [Gambas-user] Database manager Save Table problem

2009-09-11 Thread Benoît Minisini
> > Benoît Minisini a écrit : > > ... > > > > > Apparently on other database systems, two index can have the same name > > > provided they are on different tables. > > > > ? strange (and I'm not sure this fit in SQLs standards) > > > > However, in PG, you can't have a doublon, either it is from tab

Re: [Gambas-user] Word Wrap in GridView

2009-09-11 Thread Benoît Minisini
> Angel Romero Astorga schrieb: > > Hi all > > > > My problem is similar. When I used gb.gui, GridView wrap the text, > > but when I use gb.qt, it don't do it. ¿How can I wrap the text in a > cell? thanks > > > Rolf, I don't know how to help you, sorry > > I'm using the whole thing under KDE

Re: [Gambas-user] Selection from GridView

2009-09-11 Thread Aleksandrs Livshics
I used 2.7 on eeepc version of Ubuntu 8.1 (called EasyPeasy 1.1), but now I have compiled 2.16 on the same system. No difference. I can select one row only or a group of rows, but not 2 rows in different places of the GridView. But I cannot imagine how this netbook may be different from a usual PC

Re: [Gambas-user] Word Wrap in GridView

2009-09-11 Thread Rolf-Werner Eilert
Angel Romero Astorga schrieb: > Hi all > > My problem is similar. When I used gb.gui, GridView wrap the text, but when I use gb.qt, it don't do it. ¿How can I wrap the text in a cell? thanks > > Rolf, I don't know how to help you, sorry I'm using the whole thing under KDE only, and I don't

[Gambas-user] Workspace and scrollbars

2009-09-11 Thread Demosthenes Koptsis
Good morning to all, is it possible to use scrollbars with workspace when a form is bigger than visible screen area? -- Γεια χαρα σε όλους!!! Regards, Demosthenes Koptsis -- Let Crystal Reports handle the reporting -

Re: [Gambas-user] Selection from GridView

2009-09-11 Thread Ricardo Díaz Martín
I think you have a bug in your gambas2 version. What distro are you using? (I always run gambas in ubuntu because I've got problems with fedora and opensuse and the instalation in ubuntu form sources are easy and clear - you can see step by step in gambasdoc.org) Are you using your distro reposito