Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 7353 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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!

Posted

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.

Posted

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.

Posted

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.

This topic is 7353 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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