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.

Stoping the Closedown Script....

Featured Replies

How can I stop the Closedown Script with a function ?

My situation:

I've got several Layouts but only ONE is allowed to be closed on! (because of Scripts)

Appreciate any Help!

Add an If-Then script step in Closedown Script so that it won't run unless the ONE layout is current. Like: If Get(LayoutName) <> theONE Then Exit.

AFAIK you can't halt the closing process once the X is clicked or a shortcut to close is used. You can use a WinBatch to disable the X on the application, but not on individual windows.

You can do what TRANSPOWER suggested, but it won't resolve your problem as I understand it.

You do not want the user to close the file except through a close/exit button on a specific layout. right?

Unfortunately, you cannot keep users from closing files or even closing FileMaker. The only thing you can do is have a Close Script run when the file(s) is closed that will do your required housekeeping before the file is closed.

The only way to stop the closing of a file or FileMaker is to bind the file(s) in a runtime as a KIOSK solution, which does not have the "X" close window button - that way they can't leave unless you let them.

Take a look at SecureFM plug-in. It will give you the control you want. http://www.nmci.com

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.