Jump to content
Server Maintenance This Week. ×

close confirmation


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

Recommended Posts

I want a confirmation dialog before the file closes..

Under File->File options I can Filemaker to run a script before the file is closed.

I put a confirmation dialog there.. but I can't find a way to do an "abort exit" in case the user hits cancel.

What should I do so it cancels the exit?

Edited by Guest
Link to comment
Share on other sites

But your profile doesn't say that.

You can create custom menus in 9 Advanced. Change the Close command in the File menu to run a script that has your confirmation dialog and checks, using If[] and Get(LastMessageChoice), what the users response is and responds accordingly.

Link to comment
Share on other sites

Yes, as it should be. If I were a user who was unable to quit an application, I would become very frustrated. Besides, I could force quit the app or turn the machine off.

What are you trying to accomplish by preventing the user from quitting?

*Actually, it's not impossible, you could for instance, put in an infinite loop of Pausing script steps that only escapes with the right Dialog choice. And I'm sure someone may have a more elegant answer, but to what problem?

Edited by Guest
Link to comment
Share on other sites

This topic is 5771 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.