[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

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 our

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 our

[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

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 -- Live

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 experimented after my last post

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] 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 least under

[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

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
On 06/06/2012, Matteo Pasotti matteo.paso...@gmail.com 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

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

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 to

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 it.