Confirmation before closing a form?

Nirious

Registered User.
Local time
Today, 19:49
Joined
Jul 31, 2004
Messages
106
I want to have a msgbox asking for confirmation when closing a form by pressing the X in the top right corner of the form.

Grtz,
Nirious
 
go to the properties of your form, use the OnClose event and put your msgbox in this event.
 

Users who are viewing this thread

Back
Top Bottom