Hi All,
I just wander how I can stop a form closing.
This is what I want to do:
If a person presses the X menu button (in Win XP he's red, in the upper right corner) I want to display a messagebox if the user really wants to close that form.
And (ofcourse) if he selects "No" the form must stop closing.
Any one a idea how I could do this?
Thanks in Advance,
cheers
I just wander how I can stop a form closing.
This is what I want to do:
If a person presses the X menu button (in Win XP he's red, in the upper right corner) I want to display a messagebox if the user really wants to close that form.
And (ofcourse) if he selects "No" the form must stop closing.
Any one a idea how I could do this?
Thanks in Advance,
cheers