OnObjectExit
Triggers a script to run before an active object is exited as a result of the following:
 •
 •
 •
 •
 •
 •
When the script runs
Before the event has been processed.
Modes in which the trigger can be used
Browse and Find modes.
Result
You can use the Exit Script script step within the triggered script to return True or False.
 •
 •
Originated in 
FileMaker Pro 10.0
Notes
 •
 •
 •
The OnObjectEnter, OnObjectExit, and OnObjectKeystroke script triggers can be activated when assigned to summary and calculation fields.
 •
Clicking into a different portal row will activate the OnObjectExit script trigger set on the row being exited and then the OnObjectEnter script trigger for the new row. As with OnObjectExit script triggers assigned to other objects, the script trigger is activated before the exit occurs, and the script determines whether the exit is successful based on the script result.
 •
 •
See Changing object data without activating script triggers for a list of other actions that do not activate this script trigger.
 •
Related topics 
Setting up script triggers
Setting script triggers for layouts
Setting script triggers for objects