Set the MinimizeBox property of the Form to False. This will replace the X
with the OK button which will cause the form to be closed.
The X button only minimises the form.
Peter
"Zanna" <(E-Mail Removed)> wrote in message
news:nOntb.31575$(E-Mail Removed)...
> "David Hanson" <(E-Mail Removed)> wrote in message
>
> > use application.Quit
> >
>
> But the "X" on the top-right still does not call che "Closing" event,
so...
> where I should put the Application.Quit?
>
> Thanx
>
> --
> Math Parser : http://www.neodatatype.net
>
>