|
From: Nahum M. <Mar...@re...> - 2001-02-14 11:31:36
|
I do this too ... but it's close the window , and not all the script ...
I can see the process yet in task manager (under NT4)
off course , i hide the dos box so , i need kill the process
----- Original Message -----
From: "Aldo Calpini" <da...@pe...>
To: "Nahum Marc" <per...@li...>
Sent: Wednesday, February 14, 2001 12:01 PM
Subject: Re: [perl-win32-gui-users] The cancel cross (upper right) in GUI
> Nahum Marc wrote:
> > How to manage the the cancel cross (upper right) in GUI to do
> > an exit ? , not a window exit , but a script exit ...
>
> pick a sample script, anyone will do, from the samples directory
> and study it.
>
> <HINT>
> supposing your window is named Window, add this line to your
> script:
> sub Window_Terminate { -1 }
> </HINT>
>
>
> cheers,
> Aldo
>
> __END__
> $_=q,just perl,,s, , another ,,s,$, hacker,,print;
>
>
>
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> Per...@li...
> http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
>
|