OnObjectEnter
Performs a script 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
When the script runs
After the event has been processed.
Modes in which the trigger can be used
Browse and Find modes.
Result
None.
Compatibility
Where the script trigger is activated | Supported |
FileMaker Pro | Yes |
FileMaker Server | Yes |
FileMaker Go | Yes |
Custom Web Publishing | Yes |
FileMaker WebDirect | Partial |
Runtime solution | Yes |
Originated in
FileMaker Pro 10.0
Notes
•In FileMaker WebDirect, this script trigger will not activate when assigned to a web viewer.
•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, tab panel, or slide panel and make it the active object does activate this trigger.
Related topics