Skip 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.

Prohibit User from Closing Window?

Featured Replies

I have several navigation buttons on my layout... one of which closes the window and executes some script steps.

My problem is that users sometimes click the "X" windows close button in the top right corner of the window.

Is there any way to disallow that and force them to click the layout's close button?

Fraid not. There have been a few discussions about what to do about that but as a straight answer - No.

Since you have advanced you can convert your solution to a kiosk mode solution (do this on a copy first to see if you like what you see. It cannot be removed for user accounts once you have invoked it) which will force all navigation to be by button cos it takes away all the surrounding native controls.

It is a bit tricky to implement. I guess it depends on how much of a control freak you want to be :

Phil

  • Author

Thanks Phil. I suspected that would be the case.

Yes... BIG control freak here... seems to cut down on training. :

You and me both.

If you decide to go down the kiosk mode route I will gladly pass on what I have learned.

It is too late for me but you never know, it just might stop you tearing your hair out! :

Phil

You can use a plugin such as SecureFM to disable the close button. You can also use FileMaker's custom menus to replace the Close command with your own script.

  • Author

Tom:

How would I manipulate the customer menus?

My script (and the associated layout) is sitting in a wait state. (Pause/Resume Script). The status area is hidden. My button issues a resume command. If the user clicks "X" (Close), then the Pause/Resume function just transfers itself to the next active layout. How would I manipulate the custom menus to do something else?

In the custom menu, you can override the default FileMaker Close command with your own script -- which could just do nothing, or it could beep and/or chastise the user with a dialog box. It doesn't matter if your script is paused or not.

There is a wider discussion of this topic here.

http://www.fmforums.com/forum/showtopic.php?tid/177859/post/225357fbb_session_id/9cb514273b9d95e3e1cadc6f9b4b2cdf//#225357]

Phil

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.