Re: [Gambas-user] (Main) Form won't close - how to tell the user why

2017-06-20 Thread adamn...@gmail.com
On Tue, 20 Jun 2017 06:37:08 -0700 (MST)
Charlie  wrote:

> adamn...@gmail.com wrote
> > When they attempt to close the main form, the event loop won't terminate.
> > Which is proper. However, I need to be able to tell the user to close the
> > "such and such window". How can I find out which process is blocking the
> > end of the event loop?
> 
> You could try hiding the Main form and only closing it when the user closes
> the other forms. Have a look at the attached program.
> 
> GUITest.tar   
> 
> 


-- 
B Bruen 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] (Main) Form won't close - how to tell the user why

2017-06-20 Thread Charlie
adamn...@gmail.com wrote
> When they attempt to close the main form, the event loop won't terminate.
> Which is proper. However, I need to be able to tell the user to close the
> "such and such window". How can I find out which process is blocking the
> end of the event loop?

You could try hiding the Main form and only closing it when the user closes
the other forms. Have a look at the attached program.

GUITest.tar   





-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Main-Form-won-t-close-how-to-tell-the-user-why-tp59428p59432.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] (Main) Form won't close - how to tell the user why

2017-06-20 Thread Benoît Minisini via Gambas-user

Le 20/06/2017 à 07:44, adamn...@gmail.com a écrit :

I have a main form that has a lot of ways that the user can start
other processes from, some with wait and some without. When they
attempt to close the main form, the event loop won't terminate. Which
is proper. However, I need to be able to tell the user to close the
"such and such window". How can I find out which process is blocking
the end of the event loop?

regards b



You must keep the handles of your processes and check their status yourself.

Regards,

--
Benoît Minisini

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] (Main) Form won't close - how to tell the user why

2017-06-19 Thread adamn...@gmail.com
I have a main form that has a lot of ways that the user can start other 
processes from, some with wait and some without.
When they attempt to close the main form, the event loop won't terminate. Which 
is proper. However, I need to be able to tell the user to close the "such and 
such window". How can I find out which process is blocking the end of the event 
loop?

regards
b

-- 
B Bruen 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user