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
o: mailing list for gambas users Sent: Wed, 06 Jun 2012 19:05:31 +0200 Subject: Re: [Gambas-user] "mutex" applications > 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: > >

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] "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