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.

Disabling Quit

Featured Replies

Is there any easy (and free!) way yo disable the Quit option in FMP on a Mac ?

I have a quit button that I need the users to press, rather than them using the menu or apple-q.

Thanks

  • Newbies

Run the same script when closing file. It will give same result. It can be set on the document preferences on edit menu.

Artana

  • Author

No it won't give the same results if you are trying to validate their entries. I have a quit button that check a record to see that all appropriate fields are completed....if they are, then the program quits....if they aren't then the user gets informed.

Choosing to run this script on closing does not solve the problem....as you cannot abort the "quit" that FMP is going through. It attempts to report the errors, but by the time it does, FMP is shutting down.

use the following in your start up script:

Allow User Abort [Off]

Loop

Pause/Resume Script []

End Loop

this will not let the user quit filemaker. You should also hide the status bar and the only 2 ways to stop this is to A. Force quit (big no-no anyway) or B. a script that halts this script.

make sure you create a halting script and put the button somewhere before you try this so that you dont have to force quit. I would also put it in an if statement so that if you open it, that part of the script won't run.

When using other scripts, use the "Pause current script option" (under define button) unless it means going to a different file, then you will need to use the Halt Script or Exit Script options.

This also means that EVERYTHING you want to allow them to do has to be done by a button, which is generally a good idea anyway.

Just play with it.

Jeremy

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.