-
July 2nd, 2011, 11:03 PM
#1
Detecting when the close (X) button has been pressed
I have a form that has a done or ok button but I want to know when / if the user clicks the X button at the top rather than the done button. Is there some sort of boolean that is set to true or something like that?
-
July 3rd, 2011, 12:08 AM
#2
Re: Detecting when the close (X) button has been pressed
You could easily place a boolean toggle under your ok/done button and then check it in the form closing event
Always use [code][/code] tags when posting code.
-
July 3rd, 2011, 01:21 AM
#3
Re: Detecting when the close (X) button has been pressed
Ok, I figured it out. Thanks anyways!
-
July 3rd, 2011, 03:46 PM
#4
Re: Detecting when the close (X) button has been pressed
-
July 4th, 2011, 01:23 AM
#5
Re: Detecting when the close (X) button has been pressed
Mark your thread resolved please
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
|