|
-
Mar 16th, 2007, 01:38 PM
#3
Re: A Problem with MDI Parent and Close ( X ) Button..
The only code you need in the "mnuexit_Click" event is:
Unload Me
This is because that statement will automatically fire the "MDIForm_QueryUnload" event.
Furthermore, you do not need the "Unload Me" statement in the "MDIForm_QueryUnload" event. You can get rid of the whole Select Case statement, and code this If statement:
If vbResponse = vbNo Then
Cancel = 1
End If
"It's cold gin time again ..."
Check out my website here.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|