How to Catch the [X]

Cableguy

Expert
Licensed User
Longtime User
Hi,

I think I saw a post about this in the old forum, how can we catch the [X] press event?

I know this sounds stupid....heres my code..


What happens is that it seems to be a circular call(!?), What i'm trying to acomplish is that wether thru the "exit" menu item, wether thru the [X] button, the user is questioned if the "inplay" var is true.
What am I doing wrong?
 
Last edited:

Cableguy

Expert
Licensed User
Longtime User
I understand your code, but where is the error in my code, my logic is only in the wrong way, but still true isn't it?
As I understand Applose calls the form_close event/sub? and if not present it close the form...Wright?
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…