OnObjectEnter
Triggers a script to run when a layout object becomes active as a result of the following:
 •
 •
 •
 •
When the script runs
After the event has been processed.
Modes in which the trigger can be used
Browse and Find modes.
Result
None.
Originated in 
FileMaker Pro 10.0
Notes
 •
The OnObjectEnter, OnObjectExit, and OnObjectKeystroke script triggers can be activated when assigned to summary and calculation fields.
 •
If OnObjectEnter is assigned to a portal object, it will activate whenever a different portal row becomes active. Clicking another object in the same portal row will not cause the portal’s OnObjectEnter script trigger to activate again.
 •
 •
When FileMaker Pro switches to Find mode and a field is entered, OnObjectEnter is activated if the trigger is set to run in Find mode.
 •
 •
Clicking a button or tab control does not activate this trigger on the button or tab. Pressing Tab to navigate to a button or tab and make it the active object does activate this trigger.
 •
See Changing object data without activating script triggers for a list of actions that do not activate this script trigger.
Related topics 
Setting up script triggers
Setting script triggers for layouts
Setting script triggers for objects