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

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

Recommended Posts

Posted (edited)

Hi all,

There is this problem:


  • 1. There is a script that brings up a popup and pauses for the user to act within that popup window.

    2. There is a cancel button for the user to close the popup (and the underlying script resumes with the rest of the steps)

    3. Now if the user presses the 'X' button of the popup window (the standard Windows button) ... then it forces a close causing the underlying script to keep waiting (the "continue" button appears on the left; the status area)

Is there any type of error trapping that can detect this problem ? I would like to know when the 'X' button is pressed so that I can treat it as a 'Cancel' command.

Thomas

PS. While we are at it: How can we prevent a user from resizing a layout / popup ?

Edited by Guest
Posted

Ok, it is resolved.

It only needed one line "Allow User Abort = Off" and it does exactly what I want.

(There was no need for the suggested loop structure that some people mentioned in the other threads; the abort=off was sufficient ... because my originating script needed to resume afterwards; but not halt)

This topic is 6510 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.