Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Detect user press of button

Featured Replies

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

  • Author

John,

Thank you !

Those links were an excellent read.

Best

Thomas

  • Author

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)

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.