[Gambas-user] Closing signals

Leonardo Miliani leonardo at ...1237...
Tue Feb 13 18:44:04 CET 2007


Leonardo Miliani wrote:
> Hello everybody.
> I would like to know if there's a way to intercept what is trying to
> close a Gambas application.
> I remember that in VB there was a way to read the closing signal to know
> if the application had been closed from the user by clicking on the "X"
> icon or if the system was shutting down and was sending all the
> applications the terminating signal.
> 
> I would like to write a check in my applications to close them in a safe
> way if they intercept a terminating signal from the system, i.e. during
> shutdowns or reboots, to avoyd data loosing.
> Thanks.
> 

Up..

Any suggestion?

-- 
Ciao.
Leo.

Web: www.leonardomiliani.com
E-mail: leonardo at ...1237...
Scegli software opensource - Choose opensource software




More information about the User mailing list