Re: [Gambas-user] "mutex" applications

2012-06-06 Thread Bruce
On Thu, 2012-06-07 at 12:09 +0930, Bruce wrote: > On Wed, 2012-06-06 at 21:49 -0400, nando wrote: > > I'd like to suggest a form property called 'Singleton' > > when _new or _init is called (whichever creates the object) > > then it will not create a second and only > > return the first instance of

Re: [Gambas-user] "mutex" applications

2012-06-06 Thread Bruce
On Wed, 2012-06-06 at 21:49 -0400, nando wrote: > I'd like to suggest a form property called 'Singleton' > when _new or _init is called (whichever creates the object) > then it will not create a second and only > return the first instance of it. Somewhat like a module. nando, That is quite easy

Re: [Gambas-user] "mutex" applications

2012-06-06 Thread nando
I'd like to suggest a form property called 'Singleton' when _new or _init is called (whichever creates the object) then it will not create a second and only return the first instance of it. Somewhat like a module. -- Original Message --- From: Benoît Minisini To: mailing list fo

Re: [Gambas-user] Problems building Gambas3 on Mageia2

2012-06-06 Thread RICHARD WALKER
On 06/06/2012, Matteo Pasotti wrote: > there's http://gambasdoc.org/help/install/mageia?v3 to know how to > build gambas3 on Mageia. > Two devel packages was missing: gsl-devel and qtwebkit-devel, now it > should be almost complete. > Let us know if something is missing. I used that page to compa

Re: [Gambas-user] Problems building Gambas3 on Mageia2

2012-06-06 Thread Matteo Pasotti
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/06/2012 02:42, RICHARD WALKER wrote: > The long preparation, configuring making and installing of Gambas > 3.1.90, revision #4809 I think, completed without apparent error. > > Part of the preparation was to fetch the Mageia 2 Gambas 3 (sounds

Re: [Gambas-user] Problems building Gambas3 on Mageia2

2012-06-06 Thread RICHARD WALKER
I think I have spotted a possible mistake on my part; I left off the -C from ./configure -C. I haven't seen that before, so I have no idea what effect it might have, but I am re-configuting now and will soon start my 4th build. R On 06/06/2012, RICHARD WALKER wrote: > The long preparation, conf

[Gambas-user] Configuration issue with gb.desktop

2012-06-06 Thread tobi
Hi, I just moved to a new machine and tried to compile gambas3 again. On make, I get with gb.desktop: make[5]: Entering directory `/home/woodap/sources/gambas3/gb.desktop/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -pipe -Wall -Wno-unused-valu

Re: [Gambas-user] "mutex" applications

2012-06-06 Thread Benoît Minisini
Le 06/06/2012 14:32, tobi a écrit : > On Wed, 06 Jun 2012, Bruce wrote: >> On Wed, 2012-06-06 at 12:38 +0200, Rolf-Werner Eilert wrote: >> >>> Hi Bruce, >>> >>> I have successfully used this code which is from Jussi Lahtinen. I built >>> it into two of my applications, and it works reliably, at lea

Re: [Gambas-user] "mutex" applications

2012-06-06 Thread tobi
On Wed, 06 Jun 2012, Bruce wrote: > On Wed, 2012-06-06 at 12:38 +0200, Rolf-Werner Eilert wrote: > > > Hi Bruce, > > > > I have successfully used this code which is from Jussi Lahtinen. I built > > it into two of my applications, and it works reliably, at least under > > Gambas2 on our somewhat

Re: [Gambas-user] "mutex" applications

2012-06-06 Thread Bruce
On Wed, 2012-06-06 at 12:38 +0200, Rolf-Werner Eilert wrote: > Hi Bruce, > > I have successfully used this code which is from Jussi Lahtinen. I built > it into two of my applications, and it works reliably, at least under > Gambas2 on our somewhat older system: > > PUBLIC SUB Form_Open() > DIM

Re: [Gambas-user] Gridview keypress question

2012-06-06 Thread Richard Terry
Bruce wrote: > On Wed, 2012-06-06 at 21:29 +1000, Richard Terry wrote: > >> public Sub Gridview1_Keypress() >> >> print key.code >> >> end >> > > Quick guess. lookup STOP EVENT. > > Not really sure ( I'm busy on the other thing). > hth > Bruce > > Tried that, anyway, just experimente

Re: [Gambas-user] Gridview keypress question

2012-06-06 Thread Bruce
On Wed, 2012-06-06 at 21:29 +1000, Richard Terry wrote: > public Sub Gridview1_Keypress() > > print key.code > > end Quick guess. lookup STOP EVENT. Not really sure ( I'm busy on the other thing). hth Bruce -- Liv

[Gambas-user] Gridview keypress question

2012-06-06 Thread Richard Terry
Hi List, I've got a grid with several columns. If I use the arrow keys, then the grid focus moves up/down or to the next/previous column. I want to over-ride this keypress behaviour, but can't manage it. If iI even try and detect a keypress n this event, nothing happens public Sub Gridview1_

Re: [Gambas-user] "mutex" applications

2012-06-06 Thread Rolf-Werner Eilert
Am 06.06.2012 11:18, schrieb Bruce: > I have been mucking around with this for about a year now and haven't > found a solution. > > We have a few gambas applications that are treated as pop-ups by the > users. That is, they click on some type of launcher (be it a desktop > item, a menu item or in

Re: [Gambas-user] "mutex" applications

2012-06-06 Thread Benoît Minisini
Le 06/06/2012 11:18, Bruce a écrit : > I have been mucking around with this for about a year now and haven't > found a solution. > > We have a few gambas applications that are treated as pop-ups by the > users. That is, they click on some type of launcher (be it a desktop > item, a menu item or in

[Gambas-user] "mutex" applications

2012-06-06 Thread Bruce
I have been mucking around with this for about a year now and haven't found a solution. We have a few gambas applications that are treated as pop-ups by the users. That is, they click on some type of launcher (be it a desktop item, a menu item or in our case a wbar icon) and the application start