From: <so...@bl...> - 2002-08-30 06:50:15
|
> > you putted the EVT_CLOSE to the wrong place... > > > > or do you have a reason why you need it to be there? > > $app ist not the window, but you could use EVT_CLOSE on $frame too. > > I know that EVT_CLOSE is for frame. What I want is a event for the app,= when > the app goes to be closed! Maybe the only way is to check the close in the > topwindow! ah, ok. that's easy if you don't want to veto the exit: ### code start my($app) =3D MyApp->new(); $app->MainLoop(); print "here's definitly the last point before the application exits\n"; ### code end >> i changed your minimal sample that it works. >> hope it helps >Thanks for the help. hope this is what you search and it helps moore this time :-) greeting Marco |