Tissot Posted December 3, 2004 Posted December 3, 2004 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!
transpower Posted December 3, 2004 Posted December 3, 2004 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.
-Queue- Posted December 3, 2004 Posted December 3, 2004 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.
DykstrL Posted December 3, 2004 Posted December 3, 2004 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.
RalphL Posted December 3, 2004 Posted December 3, 2004 Take a look at SecureFM plug-in. It will give you the control you want. http://www.nmci.com
Recommended Posts
This topic is 7558 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 accountSign in
Already have an account? Sign in here.
Sign In Now