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

Stop users from using 'window' menu

Featured Replies

Is there a way I can disable users from using the 'Window' menu to switch between files. My user_db.fp5 file is just a list of the users and their passwords (I have a simple login script), and the users shouldn't have permission to access it.

The only thing I can think of for them not getting into anything is locking the status bar on that file, and having a startup script for the file default to a blank layout?

Any help would be appreciated, thanks!

I use a Blank Layout Myself.

Im Trying to Think outside the BOX!

You can disable the Windows menu and practically everything else with a script:

Allow User Abort [Off]

Set Field ["Lock_g", "1"]

Toggle Status Area ["Hide, Lock"]

Toggle Window ["Zoom"]

Loop

Pause/Resume[]

End Loop

IMPORTANT: Before creating such a beast, especially the Allow[Off] be sure you have a script and button to stop it, or you'll have to Force Quit FileMaker.

The script to stop it is simple:

Set Field ["Lock_g", """"]

Toggle Status Area ["Hide"]

Exit Record/Request

The critical thing is to make a button to do this, have it on the layout, and when you define the button, choose "Halt" current script as the option.

The Lock_g global field is optional. If you include a check for it in every visible script, to stop them, then you have a fairly secure little loop. Otherwise, even though the Window menu is disabled, they can still run a visible script, yet still be trapped in the pause loop; not so good.

I also run the Stop script, to set Lock_g to "" at startup, in case something's gone wrong (like a Force Quit).

PauseLoop.zip

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.