|
-
Jul 28th, 2008, 09:37 AM
#5
Re: [urgent] "X" button
 Originally Posted by JuggaloBrotha
Use the FormClosing and/or the FormClosed events to do what's needed
Not such a good idea. There's no way to specifically distinguish between the user clicking the Close box (as it's officially named) and your code calling Me.Close.
Prevention is better than cure. If you don't want the user to use the Close box then it's best to disable it. There's a link in my signature that demonstrates how to do that.
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
|