> 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!
>
> i changed your minimal sample that it works.
> hope it helps
Thanks for the help.
Graciliano M. P.
|