Help

Table Of Contents
Script triggers reference
F
ILEMAKER PRO HELP 1172
Script triggers reference
You can set up a script trigger to specify that a script runs when an event occurs. Click the links for
the topics in this section to see a description of each script trigger.
Related topics
Setting script triggers for layouts
Setting script triggers for objects
Setting file options
OnObjectEnter
Triggers a script to run when a layout object becomes active as a result of the following:
a user tabs to the object
a user clicks the object
a script step causes an object to be entered
a user moves between repetitions in a repeating field
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.
OnObjectEnter will not activate from a portal in Find mode.
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.
Scrolling does not make the object active and does not activate this script trigger.
Clicking a button, a popover button, or a panel 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.
Closing a popover with the Esc key or the Close Popover script step makes the associated
popover button active and activates the OnObjectEnter script trigger.