December 3, 200421 yr 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!
December 3, 200421 yr 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.
December 3, 200421 yr 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.
December 3, 200421 yr 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.
December 3, 200421 yr 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