Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5933 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a very simple script designed to let a user preview an invoice before printing it. The script pauses after entering preview mode, so the user just has to hit Enter to continue the script (which goes on to the printing), since the status area on the left will be hidden.

The problem is that it's very easy to imagine a user hitting the X to close the window instead of hitting Enter, and I'm wondering if there's a way to run a script when the window closes in order to catch this 'error.' If there's not, is there any way to prevent the user from closing the window completely?

Thanks.

This topic is 5933 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.