Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

It seems the only script that runs is the very last window open. via the File Preferences.

There is no way to close a window with the CLOSE or [X} and perform a cleanup script.

Version: v7.x

Platform: Mac OS X Panther

Posted

OAM alluded that FMP 7's startup and shutdown scripts functions differently. I've determined that the startup script is called when the *first* window is opened -- when the file is opened -- and the shutdown script is called when the *last* window is closed -- which is when the file is closed.

Another case where the new file/table structure will require developers to re-align their thinking.

Perhaps there needs to be "On_New_Window_Open" and "On_Window_Close" handles to call scripts. Or maybe with a change of thinking they aren't even necessary?

Posted

Vaughan said:

Perhaps there needs to be "On_New_Window_Open" and "On_Window_Close" handles to call scripts. Or maybe with a change of thinking they aren't even necessary?

I would agree with you on this that these calls are needed. But to make the unnecessary would me you create your own exit button but then it would be requirement for the developer to turn off the window control buttons for that matter allow the ability to disable the scroll bars and even the FMP functions in the lower left.

SD

Version: v7.x

Platform: Mac OS X Panther

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